From 87a9c7318a4c796a7eec746c501ba7163462f9be Mon Sep 17 00:00:00 2001 From: Koerty Date: Sun, 1 Apr 2018 17:18:12 +0200 Subject: [PATCH] Fix ImageComponent flipY --- es-core/src/components/ImageComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/ImageComponent.cpp b/es-core/src/components/ImageComponent.cpp index aa82dce37..7dddba271 100644 --- a/es-core/src/components/ImageComponent.cpp +++ b/es-core/src/components/ImageComponent.cpp @@ -223,7 +223,7 @@ void ImageComponent::updateVertices() } 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; } }