citra-emu
/
citra-canary
Archived
1
0
Fork 0

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:
Markus Wick 2018-05-06 23:41:09 +02:00
parent e35c634fc6
commit 301073334a
1 changed files with 0 additions and 3 deletions

View File

@ -783,9 +783,6 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) {
} }
} }
// Disable scissor test
state.scissor.enabled = false;
vertex_batch.clear(); vertex_batch.clear();
// Unbind textures for potential future use as framebuffer attachments // Unbind textures for potential future use as framebuffer attachments