mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Pica/TextureEnvironment: Add a note.
This commit is contained in:
		
							parent
							
								
									e11fb96408
								
							
						
					
					
						commit
						81ebb4d682
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -277,6 +277,10 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, | |||
|                             return 0; | ||||
|                     } | ||||
|                 }; | ||||
| 
 | ||||
|                 // Textures are laid out from bottom to top, hence we invert the t coordinate.
 | ||||
|                 // NOTE: This may not be the right place for the inversion.
 | ||||
|                 // TODO: Check if this applies to ETC textures, too.
 | ||||
|                 s = GetWrappedTexCoord(texture.config.wrap_s, s, texture.config.width); | ||||
|                 t = texture.config.height - 1 - GetWrappedTexCoord(texture.config.wrap_t, t, texture.config.height); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue