mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Silence some -Wsign-compare warnings.
This commit is contained in:
		
							parent
							
								
									8af5753da5
								
							
						
					
					
						commit
						f15c142c5e
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -342,10 +342,10 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, | |||
| 
 | ||||
|                         case Regs::TextureConfig::MirroredRepeat: | ||||
|                         { | ||||
|                             int coord = (int)((unsigned)val % (2 * size)); | ||||
|                             unsigned int coord = ((unsigned)val % (2 * size)); | ||||
|                             if (coord >= size) | ||||
|                                 coord = 2 * size - 1 - coord; | ||||
|                             return coord; | ||||
|                             return (int)coord; | ||||
|                         } | ||||
| 
 | ||||
|                         default: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue