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:
hrydgard 2009-07-02 20:06:39 +00:00
parent 99a33ccba9
commit bad9880692
1 changed files with 5 additions and 0 deletions

View File

@ -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;