From b97765b16935f9c7339686e372f245ec16ba97ec Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Fri, 18 Jan 2013 00:29:01 +0100 Subject: [PATCH] Check for OpenGL 2.0 in NPOT check (issue #538) --- src/modules/graphics/opengl/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/Image.cpp b/src/modules/graphics/opengl/Image.cpp index c85b1b5ba..81f17d376 100644 --- a/src/modules/graphics/opengl/Image.cpp +++ b/src/modules/graphics/opengl/Image.cpp @@ -357,7 +357,7 @@ void Image::drawv(const Matrix &t, const vertex *v) const bool Image::hasNpot() { - return GLEE_ARB_texture_non_power_of_two != 0; + return GLEE_VERSION_2_0 || GLEE_ARB_texture_non_power_of_two; } bool Image::hasMipmapSupport()