mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 14:20:05 +00:00
gl_rasterizer: Remove redundant scissor state change.
There is no need to disable this state after the draw call, gl_state will handle this for us if needed. This kind of redundant state changes are bad for the driver overhead, as flipping bits will invalidate the driver state.
This commit is contained in:
parent
e35c634fc6
commit
301073334a
@ -783,9 +783,6 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) {
|
||||
}
|
||||
}
|
||||
|
||||
// Disable scissor test
|
||||
state.scissor.enabled = false;
|
||||
|
||||
vertex_batch.clear();
|
||||
|
||||
// Unbind textures for potential future use as framebuffer attachments
|
||||
|
Loading…
Reference in New Issue
Block a user