mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Merge pull request #5712 from Armada651/fix-fbo-layers
FramebufferManager: Fix EFB layers being attached to the wrong FBO.
This commit is contained in:
commit
a63ee78723
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void FramebufferManager::BindLayeredTexture(GLuint texture, const std::vector<GL
|
||||||
// Bind all the other layers as separate FBOs for blitting.
|
// Bind all the other layers as separate FBOs for blitting.
|
||||||
for (unsigned int i = 1; i < m_EFBLayers; i++)
|
for (unsigned int i = 1; i < m_EFBLayers; i++)
|
||||||
{
|
{
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, m_resolvedFramebuffer[i]);
|
glBindFramebuffer(GL_FRAMEBUFFER, framebuffers[i]);
|
||||||
glFramebufferTextureLayer(GL_FRAMEBUFFER, attachment, texture, 0, i);
|
glFramebufferTextureLayer(GL_FRAMEBUFFER, attachment, texture, 0, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue