1
0
Fork 0
forked from fte/fteqw

fix lumas missing on q3 bsps.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4694 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-06-22 23:45:30 +00:00
parent 1943a1c5a0
commit 9ad0d24f54

View file

@ -3933,6 +3933,7 @@ void QDECL R_BuildDefaultTexnums(texnums_t *tn, shader_t *shader)
if (!TEXVALID(shader->defaulttextures.fullbright)) if (!TEXVALID(shader->defaulttextures.fullbright))
{ {
extern cvar_t r_fb_bmodels;
if ((shader->flags & SHADER_HASFULLBRIGHT) && r_fb_bmodels.value && gl_load24bit.value) if ((shader->flags & SHADER_HASFULLBRIGHT) && r_fb_bmodels.value && gl_load24bit.value)
{ {
if (!TEXVALID(tn->fullbright)) if (!TEXVALID(tn->fullbright))