Add back the comment and we can check it again in future
This commit is contained in:
parent
68e12a4664
commit
1fb2ccb552
|
@ -2877,6 +2877,10 @@ bool CommandProcessor::IssueCopy() {
|
|||
glGetIntegerv(GL_STENCIL_WRITEMASK, &old_stencil_mask);
|
||||
glDepthMask(GL_TRUE);
|
||||
glStencilMask(0xFF);
|
||||
// HACK: this should work, but throws INVALID_ENUM on nvidia drivers.
|
||||
/* glClearNamedFramebufferfi(source_framebuffer->framebuffer,
|
||||
GL_DEPTH_STENCIL,
|
||||
depth, stencil);*/
|
||||
glClearNamedFramebufferfv(source_framebuffer->framebuffer, GL_DEPTH,
|
||||
0, &depth);
|
||||
glClearNamedFramebufferiv(source_framebuffer->framebuffer, GL_STENCIL,
|
||||
|
|
Loading…
Reference in New Issue