Fix ImageComponent flipY

This commit is contained in:
Koerty 2018-04-01 17:18:12 +02:00
parent 560ca045cd
commit 87a9c7318a

View file

@ -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;
} }
} }