GL: Remove duplicate scissor disable
This commit is contained in:
@@ -531,7 +531,6 @@ void RendererGL::display() {
|
|||||||
gl.disableScissor();
|
gl.disableScissor();
|
||||||
gl.disableBlend();
|
gl.disableBlend();
|
||||||
gl.disableDepth();
|
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
|
// 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.setLogicOp(GL_COPY);
|
||||||
gl.setColourMask(true, true, true, true);
|
gl.setColourMask(true, true, true, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user