mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix GL quad overdraw overlay when using renderbuffer for depth
This commit is contained in:
@@ -2118,6 +2118,7 @@ ResourceId GLReplay::RenderOverlay(ResourceId texid, FloatVector clearCol, Debug
|
||||
{
|
||||
drv.glGetNamedRenderbufferParameterivEXT(curDepth, eGL_RENDERBUFFER_INTERNAL_FORMAT,
|
||||
(GLint *)&fmt);
|
||||
depthEnum = eGL_RENDERBUFFER;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user