Ver Fonte

gl_rasterizer: Don't disable blending on clears

Blending doesn't affect clears.
ReinUsesLisp há 6 anos atrás
pai
commit
887d5288ef
1 ficheiros alterados com 0 adições e 4 exclusões
  1. 0 4
      src/video_core/renderer_opengl/gl_rasterizer.cpp

+ 0 - 4
src/video_core/renderer_opengl/gl_rasterizer.cpp

@@ -459,10 +459,6 @@ void RasterizerOpenGL::Clear() {
         glDisablei(GL_SCISSOR_TEST, 0);
     }
 
-    // TODO(Rodrigo): Find out if blending affects clearing
-    state_tracker.NotifyBlend0();
-    glDisablei(GL_BLEND, 0);
-
     UNIMPLEMENTED_IF(regs.clear_flags.viewport);
 
     ConfigureClearFramebuffer(use_color, use_depth, use_stencil);