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
This commit is contained in:
Spoike 2017-11-04 02:53:55 +00:00
parent 6139416dea
commit 9fc89eb03b

View file

@ -426,7 +426,7 @@ qboolean GL_LoadTextureMips(texid_t tex, const struct pendingtextureinfo *mips)
//gles doesn't support autocompression as of gles3. //gles doesn't support autocompression as of gles3.
//only autocompress if we have actually have data (gl errors otherwise). //only autocompress if we have actually have data (gl errors otherwise).
if (gl_config.arb_texture_compression && mips->mip[i].data) if (gl_config.arb_texture_compression && mips->mip[i].data)
compress = true; compress = !!gl_compress.ival;
else else
compress = false; compress = false;