From 87fd3362e25a30e2f54107bdb76a976ce8982ae9 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Mon, 16 May 2011 17:02:43 +0200 Subject: [PATCH] Mixed up s and t, po2ify should work correctly now, quads still broken --- src/modules/graphics/opengl/Image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/graphics/opengl/Image.cpp b/src/modules/graphics/opengl/Image.cpp index 1b6357b84..b4f9459dd 100644 --- a/src/modules/graphics/opengl/Image.cpp +++ b/src/modules/graphics/opengl/Image.cpp @@ -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;