2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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); 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); UNIMPLEMENTED_IF(regs.clear_flags.viewport);
ConfigureClearFramebuffer(use_color, use_depth, use_stencil); ConfigureClearFramebuffer(use_color, use_depth, use_stencil);