--- deliantra/Deliantra-Client/DC.pm 2006/05/23 00:26:17 1.58 +++ deliantra/Deliantra-Client/DC.pm 2006/05/23 17:30:18 1.59 @@ -38,6 +38,7 @@ %GL_EXT = map +($_ => 1), split /\s+/, gl_extensions; $GL_NPOT = $GL_EXT{GL_ARB_texture_non_power_of_two} || $GL_VERSION >= 2; + $GL_NPOT = 0 if gl_vendor =~ /ATI Technologies/; # ATI doesn't get it right... glDisable GL_COLOR_MATERIAL; glShadeModel GL_FLAT;