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()