FramebufferManager: Copy all EFB layers to the XFB framebuffer.

This commit is contained in:
Jules Blok
2014-12-20 16:48:57 +01:00
parent 5526b39320
commit 12412ac5b7
2 changed files with 12 additions and 9 deletions

View File

@ -68,7 +68,7 @@ public:
static GLuint GetEFBColorTexture(const EFBRectangle& sourceRc);
static GLuint GetEFBDepthTexture(const EFBRectangle& sourceRc);
static GLuint GetEFBFramebuffer() { return m_efbFramebuffer[0]; }
static GLuint GetEFBFramebuffer(unsigned int layer = 0) { return (layer < m_EFBLayers) ? m_efbFramebuffer[layer] : m_efbFramebuffer[m_EFBLayers - 1]; }
static GLuint GetXFBFramebuffer() { return m_xfbFramebuffer; }
// Resolved framebuffer is only used in MSAA mode.