mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
This commit is contained in:
		
							parent
							
								
									d3b7f57b2b
								
							
						
					
					
						commit
						743b0e71d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -909,7 +909,7 @@ bool RasterizerOpenGL::AccelerateFill(const GPU::Regs::MemoryFillConfig& config) | |||
|         GLint value_int = (config.value_32bit >> 24); | ||||
| 
 | ||||
|         cur_state.depth.write_mask = true; | ||||
|         cur_state.stencil.write_mask = true; | ||||
|         cur_state.stencil.write_mask = 0xFF; | ||||
|         cur_state.Apply(); | ||||
|         glClearBufferfi(GL_DEPTH_STENCIL, 0, value_float, value_int); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue