diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-11-06 11:41:39 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:27:40 +0100 |
| commit | 8210b9c915816cf8f778db1b633f2327897af005 (patch) | |
| tree | 8ff03bc44112e17304e2e32568abd20e88749764 /Source/Core/VideoBackends/OGL/FramebufferManager.h | |
| parent | 02ad1a36ea0c11d5bac2c2d55e2af51b3aa6111f (diff) | |
TextureCache: Ensure that all render target textures have as many layers as the frame buffer.
Also fixes a case where the D3D code path did not initialize num_layers leading to undefined behaviour.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/FramebufferManager.h')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/FramebufferManager.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.h b/Source/Core/VideoBackends/OGL/FramebufferManager.h index bce63a0048..ed129c5a6e 100644 --- a/Source/Core/VideoBackends/OGL/FramebufferManager.h +++ b/Source/Core/VideoBackends/OGL/FramebufferManager.h @@ -74,8 +74,6 @@ public: // Resolved framebuffer is only used in MSAA mode. static GLuint GetResolvedFramebuffer() { return m_resolvedFramebuffer; } - static int GetEFBLayers() { return m_EFBLayers; } - static void SetFramebuffer(GLuint fb); // If in MSAA mode, this will perform a resolve of the specified rectangle, and return the resolve target as a texture ID. @@ -103,8 +101,6 @@ private: static int m_msaaSamples; static GLenum m_textureType; - static int m_EFBLayers; - static GLuint m_efbFramebuffer; static GLuint m_xfbFramebuffer; static GLuint m_efbColor; |
