gl_rasterizer: Don't disable blending on clears

Blending doesn't affect clears.
This commit is contained in:
ReinUsesLisp 2020-02-21 02:55:08 -03:00
parent ac204754d4
commit 887d5288ef

View File

@ -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);