From 1fb2ccb552ce4b80e8a2b4a53b99fc8731f21f3f Mon Sep 17 00:00:00 2001 From: raven02 Date: Mon, 22 Jun 2015 09:22:31 -0700 Subject: [PATCH] Add back the comment and we can check it again in future --- src/xenia/gpu/gl4/command_processor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index 16d1cd68f..f890d99f5 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -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,