Show the stencil buffer properlyish in ge debugger.

This commit is contained in:
Unknown W. Brackets 2013-10-06 17:11:42 -07:00
parent 3e7f7e9abd
commit 3af88b1e4e
4 changed files with 7 additions and 2 deletions

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