mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-17 04:25:39 +00:00
Merge pull request #402 from Koerty/fix-image-flipY
Fix ImageComponent flipY
This commit is contained in:
commit
6878aad784
|
@ -223,7 +223,7 @@ void ImageComponent::updateVertices()
|
||||||
}
|
}
|
||||||
if(mFlipY)
|
if(mFlipY)
|
||||||
{
|
{
|
||||||
for(int i = 1; i < 6; i++)
|
for(int i = 0; i < 6; i++)
|
||||||
mVertices[i].tex[1] = mVertices[i].tex[1] == py ? 0 : py;
|
mVertices[i].tex[1] = mVertices[i].tex[1] == py ? 0 : py;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue