diff options
| author | Stenzek <stenzek@gmail.com> | 2017-03-09 23:39:48 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2017-03-09 23:39:48 +1000 |
| commit | 401216608573182b0ece84ceaa9d2cdfb60fe757 (patch) | |
| tree | 815ab6e6db47d8ee4f15c0bfd5fab93ce752ff52 /Source/Core/VideoCommon/FramebufferManagerBase.h | |
| parent | 883bec873fd1e74e090331d437a84af43126bcbe (diff) | |
VideoCommon: Fix crash at startup with virtual XFB enabled
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManagerBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManagerBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManagerBase.h b/Source/Core/VideoCommon/FramebufferManagerBase.h index 47426b2e01..c780a3fa21 100644 --- a/Source/Core/VideoCommon/FramebufferManagerBase.h +++ b/Source/Core/VideoCommon/FramebufferManagerBase.h @@ -57,8 +57,8 @@ public: static void SetLastXfbHeight(unsigned int height) { s_last_xfb_height = height; } static unsigned int LastXfbWidth() { return s_last_xfb_width; } static unsigned int LastXfbHeight() { return s_last_xfb_height; } - static int ScaleToVirtualXfbWidth(int x); - static int ScaleToVirtualXfbHeight(int y); + static int ScaleToVirtualXfbWidth(int x, const TargetRectangle& target_rectangle); + static int ScaleToVirtualXfbHeight(int y, const TargetRectangle& target_rectangle); static unsigned int GetEFBLayers() { return m_EFBLayers; } virtual std::pair<u32, u32> GetTargetSize() const = 0; |
