From 9fc89eb03b80e0f6e33fd1eabad818ac0dc6ffa9 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 4 Nov 2017 02:53:55 +0000 Subject: [PATCH] try to fix recently reported slow-loading issue git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5161 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index 2beadb774..f29fbcc69 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -426,7 +426,7 @@ qboolean GL_LoadTextureMips(texid_t tex, const struct pendingtextureinfo *mips) //gles doesn't support autocompression as of gles3. //only autocompress if we have actually have data (gl errors otherwise). if (gl_config.arb_texture_compression && mips->mip[i].data) - compress = true; + compress = !!gl_compress.ival; else compress = false;