summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManagerBase.h
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2016-11-10 23:31:37 +1000
committerStenzek <stenzek@gmail.com>2016-11-28 20:14:59 +1000
commita83ca587c6ff8ab8b4502d268ec9e9e47afb7e3d (patch)
treed7767e758279db5c7c617c12ad5583454e245cbb /Source/Core/VideoCommon/FramebufferManagerBase.h
parenta0a62c0f462c828163c4229ae7393a980e2317a5 (diff)
VideoCommon: Make FramebufferManagerBase::GetTargetSize public
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManagerBase.h')
-rw-r--r--Source/Core/VideoCommon/FramebufferManagerBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManagerBase.h b/Source/Core/VideoCommon/FramebufferManagerBase.h
index 2e932170a4..bfbac5cc77 100644
--- a/Source/Core/VideoCommon/FramebufferManagerBase.h
+++ b/Source/Core/VideoCommon/FramebufferManagerBase.h
@@ -60,6 +60,8 @@ public:
static int ScaleToVirtualXfbHeight(int y);
static unsigned int GetEFBLayers() { return m_EFBLayers; }
+ virtual void GetTargetSize(unsigned int* width, unsigned int* height) = 0;
+
protected:
struct VirtualXFB
{
@@ -79,8 +81,6 @@ protected:
private:
virtual std::unique_ptr<XFBSourceBase>
CreateXFBSource(unsigned int target_width, unsigned int target_height, unsigned int layers) = 0;
- // TODO: figure out why OGL is different for this guy
- virtual void GetTargetSize(unsigned int* width, unsigned int* height) = 0;
static VirtualXFBListType::iterator FindVirtualXFB(u32 xfbAddr, u32 width, u32 height);