mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 16:59:18 +01:00
FramebufferManager: Fix EFB layers being attached to the wrong FBO.
Fixes typo in commit 56fe938366950062984e11364af5ce1ffe474f27.
This commit is contained in:
parent
951f6400fb
commit
4a7b96c93a
@ -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…
x
Reference in New Issue
Block a user