mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 20:44:02 +08:00 
			
		
		
		
	maxwell_to_gl: Implement WrapMode Mirror.
This commit is contained in:
		
							parent
							
								
									5fb99e6a16
								
							
						
					
					
						commit
						bf0543af23
					
				@ -100,6 +100,8 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
 | 
			
		||||
    switch (wrap_mode) {
 | 
			
		||||
    case Tegra::Texture::WrapMode::Wrap:
 | 
			
		||||
        return GL_REPEAT;
 | 
			
		||||
    case Tegra::Texture::WrapMode::Mirror:
 | 
			
		||||
        return GL_MIRRORED_REPEAT;
 | 
			
		||||
    case Tegra::Texture::WrapMode::ClampToEdge:
 | 
			
		||||
        return GL_CLAMP_TO_EDGE;
 | 
			
		||||
    case Tegra::Texture::WrapMode::ClampOGL:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user