Skip to content

Commit

Permalink
GL: Remove duplicate scissor disable
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Jul 21, 2024
1 parent cb2448a commit 6399cb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/renderer_gl/renderer_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ void RendererGL::display() {
gl.disableScissor();
gl.disableBlend();
gl.disableDepth();
gl.disableScissor();
// This will work fine whether or not logic ops are enabled. We set logic op to copy instead of disabling to avoid state changes
gl.setLogicOp(GL_COPY);
gl.setColourMask(true, true, true, true);
Expand Down

0 comments on commit 6399cb5

Please sign in to comment.