From eb5ed16eb4d155b4ab573d6df785a5c77025d733 Mon Sep 17 00:00:00 2001 From: Edouard Dupin Date: Sat, 21 Jul 2012 09:41:11 +0200 Subject: [PATCH] texture error position ==> need horizontal miror --- Sources/libewol/ewol/OObject/2DTextured.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/libewol/ewol/OObject/2DTextured.cpp b/Sources/libewol/ewol/OObject/2DTextured.cpp index 29befb67..d965f12c 100644 --- a/Sources/libewol/ewol/OObject/2DTextured.cpp +++ b/Sources/libewol/ewol/OObject/2DTextured.cpp @@ -95,7 +95,7 @@ void ewol::OObject2DTextured::Rectangle(float x, float y, float w, float h, floa Vector2D point; texCoord_ts tex; - tex.u = texSX; + tex.u = texX; tex.v = texSY; point.x = x; point.y = y; @@ -104,7 +104,7 @@ void ewol::OObject2DTextured::Rectangle(float x, float y, float w, float h, floa m_coordColor.PushBack(tmpColor); - tex.u = texX; + tex.u = texSX; tex.v = texSY; point.x = x + w; point.y = y; @@ -113,7 +113,7 @@ void ewol::OObject2DTextured::Rectangle(float x, float y, float w, float h, floa m_coordColor.PushBack(tmpColor); - tex.u = texX; + tex.u = texSX; tex.v = texY; point.x = x + w; point.y = y + h; @@ -125,7 +125,7 @@ void ewol::OObject2DTextured::Rectangle(float x, float y, float w, float h, floa m_coordTex.PushBack(tex); m_coordColor.PushBack(tmpColor); - tex.u = texSX; + tex.u = texX; tex.v = texY; point.x = x; point.y = y + h; @@ -133,7 +133,7 @@ void ewol::OObject2DTextured::Rectangle(float x, float y, float w, float h, floa m_coordTex.PushBack(tex); m_coordColor.PushBack(tmpColor); - tex.u = texSX; + tex.u = texX; tex.v = texSY; point.x = x; point.y = y;