mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Merge pull request #2356 from Chainsawkitten/GLboolean
Use GL_TRUE when setting color_mask
This commit is contained in:
		
						commit
						bc2c13ede1
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -875,10 +875,10 @@ bool RasterizerOpenGL::AccelerateFill(const GPU::Regs::MemoryFillConfig& config) | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         cur_state.color_mask.red_enabled = true; |         cur_state.color_mask.red_enabled = GL_TRUE; | ||||||
|         cur_state.color_mask.green_enabled = true; |         cur_state.color_mask.green_enabled = GL_TRUE; | ||||||
|         cur_state.color_mask.blue_enabled = true; |         cur_state.color_mask.blue_enabled = GL_TRUE; | ||||||
|         cur_state.color_mask.alpha_enabled = true; |         cur_state.color_mask.alpha_enabled = GL_TRUE; | ||||||
|         cur_state.Apply(); |         cur_state.Apply(); | ||||||
|         glClearBufferfv(GL_COLOR, 0, color_values); |         glClearBufferfv(GL_COLOR, 0, color_values); | ||||||
|     } else if (dst_type == SurfaceType::Depth) { |     } else if (dst_type == SurfaceType::Depth) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue