Support reversed buffer formats in the ge debugger.

So that it doesn't show garbage under the softgpu.
This commit is contained in:
Unknown W. Brackets committed 2013-11-17 02:14:34 -08:00
1 parent ce11fd7e4b
commit ac8edb4282
5 files changed
+40 -9

No files matched your search

+1 -1
View File
@@ -1533,7 +1533,7 @@ bool FramebufferManager::GetCurrentFramebuffer(GPUDebugBuffer &buffer) {
return true;
}
buffer.Allocate(vfb->renderWidth, vfb->renderHeight, GE_FORMAT_8888, true);
buffer.Allocate(vfb->renderWidth, vfb->renderHeight, GE_FORMAT_8888, true, true);
if (vfb->fbo)
fbo_bind_for_read(vfb->fbo);
#ifndef USING_GLES2