From 887d5288efab9b98141c9d042bc2fba3fbe230d2 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Fri, 21 Feb 2020 02:55:08 -0300 Subject: gl_rasterizer: Don't disable blending on clears Blending doesn't affect clears. --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/video_core') diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 84c285db8..8f977985b 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/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); -- cgit v1.2.3