Add back the comment and we can check it again in future

This commit is contained in:
raven02 2015-06-22 09:22:31 -07:00
parent 68e12a4664
commit 1fb2ccb552
1 changed files with 4 additions and 0 deletions

View File

@ -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,