Merge pull request #8890 from unknownbrackets/debugger

gedbg: Fix draw stepping during rendering
This commit is contained in:
Henrik Rydgård
2016-08-07 12:34:56 +02:00
committed by GitHub
+3 -1
View File
@@ -2010,7 +2010,9 @@ bool FramebufferManager::GetFramebuffer(u32 fb_address, int fb_stride, GEBufferF
glPixelStorei(GL_PACK_ALIGNMENT, 4);
SafeGLReadPixels(0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, buffer.GetData());
fbo_unbind();
// We may have clitted to a temp FBO.
fbo_unbind_read();
RebindFramebuffer();
return true;
}