Show the stencil buffer properlyish in ge debugger.

This commit is contained in:
Unknown W. Brackets committed 2013-10-06 22:17:55 -07:00
1 parent 3e7f7e9abd
commit 3af88b1e4e
4 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -1478,7 +1478,7 @@ bool FramebufferManager::GetCurrentStencilbuffer(GPUDebugBuffer &buffer) {
}
#ifndef USING_GLES2
buffer.Allocate(vfb->renderWidth, vfb->renderHeight, GPU_DBG_FORMAT_16BIT, true);
buffer.Allocate(vfb->renderWidth, vfb->renderHeight, GPU_DBG_FORMAT_8BIT, true);
if (vfb->fbo)
fbo_bind_for_read(vfb->fbo);
glReadBuffer(GL_STENCIL_ATTACHMENT);