Mixed up s and t, po2ify should work correctly now, quads still broken

This commit is contained in:
Bart van Strien
2011-05-16 17:02:43 +02:00
parent e65f79e8e9
commit 87fd3362e2
+2 -2
View File
@@ -287,8 +287,8 @@ namespace opengl
float p2width = next_p2(width);
float p2height = next_p2(height);
float t = width/p2width;
float s = height/p2height;
float s = width/p2width;
float t = height/p2height;
vertices[1].t = t;
vertices[2].t = t;