mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	gl_state: Fix a condition typo in Apply
This commit is contained in:
		
							parent
							
								
									932aeb333f
								
							
						
					
					
						commit
						23d5df9d9c
					
				| @ -120,7 +120,7 @@ const void OpenGLState::Apply() { | |||||||
| 
 | 
 | ||||||
|     // Textures
 |     // Textures
 | ||||||
|     for (unsigned texture_index = 0; texture_index < ARRAY_SIZE(texture_units); ++texture_index) { |     for (unsigned texture_index = 0; texture_index < ARRAY_SIZE(texture_units); ++texture_index) { | ||||||
|         if (texture_units[texture_index].enabled_2d != texture_units[texture_index].enabled_2d) { |         if (texture_units[texture_index].enabled_2d != cur_state.texture_units[texture_index].enabled_2d) { | ||||||
|             glActiveTexture(GL_TEXTURE0 + texture_index); |             glActiveTexture(GL_TEXTURE0 + texture_index); | ||||||
| 
 | 
 | ||||||
|             if (texture_units[texture_index].enabled_2d) { |             if (texture_units[texture_index].enabled_2d) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Lioncash
						Lioncash