Check for OpenGL 2.0 in NPOT check (issue #538)

This commit is contained in:
Bart van Strien
2013-01-18 00:29:01 +01:00
parent 2db9bfad11
commit b97765b169
+1 -1
View File
@@ -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()