mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
6139416dea
commit
9fc89eb03b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue