Commits

Bart van Strien  committed 41d8e44

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

  • Participants
  • Parent commits 4ed0a09

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Image.cpp

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