OpenGL: reset EFB after efb2ram FB initialization
This commit is contained in:
parent
0b4cb2e15f
commit
1138c2e155
|
@ -176,6 +176,7 @@ void Init()
|
||||||
|
|
||||||
FramebufferManager::SetFramebuffer(s_texConvFrameBuffer[0]);
|
FramebufferManager::SetFramebuffer(s_texConvFrameBuffer[0]);
|
||||||
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, s_dstTexture, 0);
|
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, s_dstTexture, 0);
|
||||||
|
FramebufferManager::SetFramebuffer(0);
|
||||||
|
|
||||||
CreatePrograms();
|
CreatePrograms();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue