GL: should probably rebind the efb FBO after the z peek..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3650 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
99a33ccba9
commit
bad9880692
|
@ -496,6 +496,11 @@ void Video_OnThreadAccessEFB()
|
|||
|
||||
// Clamp the 32bits value returned by glReadPixels to a 24bits value (GC uses a 24bits Z-Buffer)
|
||||
s_AccessEFBResult = z / 0x100;
|
||||
|
||||
// We should probably re-bind the old fbo here.
|
||||
if (g_Config.iMultisampleMode != MULTISAMPLE_OFF) {
|
||||
Renderer::SetFramebuffer(0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue