]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
change how compression hint check works
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 09:07:55 +0000 (09:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 21 Dec 2009 09:07:55 +0000 (09:07 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9627 d7cf8633-e32d-0410-b094-e92efae38249

gl_textures.c

index 6e2cb7fdfb55d6572fecab9e660c1a1cf1cc45c9..1b3858fd6fb4d1e4a8175b43633605d7ee8895c8 100644 (file)
@@ -853,7 +853,7 @@ static void R_Upload(gltexture_t *glt, const unsigned char *data, int fragx, int
                        }
                }
                mip = 0;
-               if (vid.support.arb_texture_compression)
+               if (qglGetCompressedTexImageARB)
                {
                        if (gl_texturecompression.integer >= 2)
                                qglHint(GL_TEXTURE_COMPRESSION_HINT_ARB, GL_NICEST);