mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 20:44:02 +08:00 
			
		
		
		
	Merge pull request #697 from bunnei/disable-depth-cull
gl_state: Temporarily disable culling and depth test.
This commit is contained in:
		
						commit
						87053fb3b8
					
				@ -795,7 +795,9 @@ void RasterizerOpenGL::SyncClipCoef() {
 | 
			
		||||
void RasterizerOpenGL::SyncCullMode() {
 | 
			
		||||
    const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs;
 | 
			
		||||
 | 
			
		||||
    state.cull.enabled = regs.cull.enabled != 0;
 | 
			
		||||
    // TODO(bunnei): Enable the below once more things work - until then, this may hide regressions
 | 
			
		||||
    // state.cull.enabled = regs.cull.enabled != 0;
 | 
			
		||||
    state.cull.enabled = false;
 | 
			
		||||
 | 
			
		||||
    if (state.cull.enabled) {
 | 
			
		||||
        state.cull.front_face = MaxwellToGL::FrontFace(regs.cull.front_face);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user