FramebufferManager: Bind only the first framebuffer layer when the EFB only has one layer.

This commit is contained in:
Jules Blok
2014-12-04 14:59:16 +01:00
parent 6d5e9cb5b1
commit 42bb48bd46
5 changed files with 24 additions and 17 deletions

View File

@ -75,6 +75,7 @@ public:
static GLuint GetResolvedFramebuffer() { return m_resolvedFramebuffer; }
static void SetFramebuffer(GLuint fb);
static void FramebufferTexture(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
// If in MSAA mode, this will perform a resolve of the specified rectangle, and return the resolve target as a texture ID.
// Thus, this call may be expensive. Don't repeat it unnecessarily.