--- deliantra/Deliantra-Client/DC/OpenGL.pm 2007/07/21 16:07:53 1.6 +++ deliantra/Deliantra-Client/DC/OpenGL.pm 2007/08/09 05:38:30 1.7 @@ -31,7 +31,8 @@ $GL_VERSION = gl_version * 1; %GL_EXT = map +($_ => 1), split /\s+/, gl_extensions; - $GL_NPOT = $GL_EXT{GL_ARB_texture_non_power_of_two} || $GL_VERSION >= 2; +# $GL_NPOT = $GL_EXT{GL_ARB_texture_non_power_of_two} || $GL_VERSION >= 2; + $GL_NPOT = $GL_VERSION >= 2; # some pre-2.0 cards seem to fall back to software rendering $GL_NPOT = 0 if gl_vendor =~ /ATI Technologies/; # ATI doesn't get it right... glDisable GL_COLOR_MATERIAL;