Просмотр исходного кода

HWRasterizer: Implemented stencil op 1 (GL_ZERO)

Subv 11 лет назад
Родитель
Сommit
e43eb130d4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/renderer_opengl/pica_to_gl.h

+ 1 - 1
src/video_core/renderer_opengl/pica_to_gl.h

@@ -155,7 +155,7 @@ inline GLenum CompareFunc(Pica::Regs::CompareFunc func) {
 inline GLenum StencilOp(Pica::Regs::StencilAction action) {
     static const GLenum stencil_op_table[] = {
         GL_KEEP,        // StencilAction::Keep
-        GL_KEEP,
+        GL_ZERO,        // StencilAction::Zero
         GL_REPLACE,     // StencilAction::Replace
         GL_INCR,        // StencilAction::Increment
         GL_DECR,        // StencilAction::Decrement