mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	gl_state: Use std::array::fill instead of std::fill
Co-Authored-By: Mat M. <mathew1800@gmail.com>
This commit is contained in:
		
							parent
							
								
									ce20ed8e4e
								
							
						
					
					
						commit
						3d0cde6a75
					
				@ -86,7 +86,7 @@ void Enable(GLenum cap, GLuint index, bool& current_value, bool new_value) {
 | 
				
			|||||||
OpenGLState::OpenGLState() = default;
 | 
					OpenGLState::OpenGLState() = default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void OpenGLState::SetDefaultViewports() {
 | 
					void OpenGLState::SetDefaultViewports() {
 | 
				
			||||||
    std::fill(std::begin(viewports), std::end(viewports), Viewport{});
 | 
					    viewports.fill(Viewport{});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    depth_clamp.far_plane = false;
 | 
					    depth_clamp.far_plane = false;
 | 
				
			||||||
    depth_clamp.near_plane = false;
 | 
					    depth_clamp.near_plane = false;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user