mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-04-28 13:47:59 +03: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