From 56091176f060504a973de7364042aa451f15e399 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 21 Dec 2009 09:07:55 +0000 Subject: [PATCH] change how compression hint check works git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9627 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_textures.c b/gl_textures.c index 6e2cb7fd..1b3858fd 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -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); -- 2.39.2