mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fix ImageComponent flipY
This commit is contained in:
parent
560ca045cd
commit
87a9c7318a
|
@ -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