Преглед изворни кода

Fix typo in Quad::mirror().

vrld пре 14 година
родитељ
комит
66f640fa0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/modules/graphics/opengl/Quad.cpp

+ 1 - 1
src/modules/graphics/opengl/Quad.cpp

@@ -110,7 +110,7 @@ namespace opengl
 			if (x)
 				vertices[i].s = 1.0 - vertices[i].s;
 			if (y)
-				vertices[i].s = 1.0 - vertices[i].s;
+				vertices[i].t = 1.0 - vertices[i].t;
 		}
 	}