From fd5ca8e2c3bf3a65ad0e1312a687dbfe858a08da Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sat, 2 Jul 2011 18:20:43 +0200 Subject: [PATCH] Missing a not, of course --- src/modules/graphics/opengl/Quad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/Quad.cpp b/src/modules/graphics/opengl/Quad.cpp index 53d583898..0f88292b8 100644 --- a/src/modules/graphics/opengl/Quad.cpp +++ b/src/modules/graphics/opengl/Quad.cpp @@ -46,7 +46,7 @@ namespace opengl void Quad::refresh(const Viewport & v, int sw, int sh) { - if (GLEE_ARB_texture_non_power_of_two) + if (!GLEE_ARB_texture_non_power_of_two) { sw = next_p2(sw); sh = next_p2(sh);