mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +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
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		|  | @ -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
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue