--- deliantra/Deliantra-Client/DC/OpenGL.pm 2008/08/30 04:43:02 1.15 +++ deliantra/Deliantra-Client/DC/OpenGL.pm 2009/11/26 07:19:12 1.16 @@ -11,6 +11,7 @@ our $GL_NPOT; our $GL_COMPRESS; our $GL_BFSEP; # blendfuncseparate +our $APPLE_NVIDIA_BUG; our $DEBUG = 1; our %INIT_HOOK; @@ -57,6 +58,9 @@ $GL_COMPRESS = 0 if DC::OpenGL::gl_vendor eq "Apple Computer, Inc."; # there is no end to their suckage + $APPLE_NVIDIA_BUG = DC::OpenGL::gl_vendor eq "NVIDIA Corporation" && $^O eq "darwin"; + apple_nvidia_bug $APPLE_NVIDIA_BUG; + disable_GL_EXT_blend_func_separate unless $GL_BFSEP;