From 65a3206ae4979122cced6d087cbb9572f4e919c3 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 4 Mar 2013 14:02:35 -0400 Subject: [PATCH] Fixed another case of issue #538 (check for non power of two support does not cover all possibilities) --- 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 7f70e512c..20f1e0de8 100644 --- a/src/modules/graphics/opengl/Quad.cpp +++ b/src/modules/graphics/opengl/Quad.cpp @@ -48,7 +48,7 @@ Quad::~Quad() void Quad::refresh(const Viewport &v, float sw, float sh) { - if (!GLEE_ARB_texture_non_power_of_two) + if (!(GLEE_VERSION_2_0 || GLEE_ARB_texture_non_power_of_two)) { sw = next_p2(sw); sh = next_p2(sh);