mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	gl_state: Minor style changes
This commit is contained in:
		
							parent
							
								
									a14d202ac2
								
							
						
					
					
						commit
						c7698d0bc8
					
				@ -69,16 +69,18 @@ void Enable(GLenum cap, GLuint index, bool enable) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void Enable(GLenum cap, bool& current_value, bool new_value) {
 | 
					void Enable(GLenum cap, bool& current_value, bool new_value) {
 | 
				
			||||||
    if (UpdateValue(current_value, new_value))
 | 
					    if (UpdateValue(current_value, new_value)) {
 | 
				
			||||||
        Enable(cap, new_value);
 | 
					        Enable(cap, new_value);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void Enable(GLenum cap, GLuint index, bool& current_value, bool new_value) {
 | 
					void Enable(GLenum cap, GLuint index, bool& current_value, bool new_value) {
 | 
				
			||||||
    if (UpdateValue(current_value, new_value))
 | 
					    if (UpdateValue(current_value, new_value)) {
 | 
				
			||||||
        Enable(cap, index, new_value);
 | 
					        Enable(cap, index, new_value);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} // namespace
 | 
					} // Anonymous namespace
 | 
				
			||||||
 | 
					
 | 
				
			||||||
OpenGLState::OpenGLState() = default;
 | 
					OpenGLState::OpenGLState() = default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user