mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 09:21:09 +00:00
fix for gl_overbright init order bug, maybe Despair can come up with a better way
This commit is contained in:
parent
b7df0b5278
commit
68a1a50f1f
1 changed files with 3 additions and 2 deletions
|
@ -537,8 +537,6 @@ gl_overbright_f (cvar_t *var)
|
|||
|
||||
if (!var)
|
||||
return;
|
||||
if (!R_BuildLightMap)
|
||||
return;
|
||||
|
||||
if (var->int_val) {
|
||||
if (!gl_combine_capable && gl_mtex_capable) {
|
||||
|
@ -578,6 +576,9 @@ gl_overbright_f (cvar_t *var)
|
|||
if (gl_multitexture)
|
||||
gl_multitexture_f (gl_multitexture);
|
||||
|
||||
if (!R_BuildLightMap)
|
||||
return;
|
||||
|
||||
for (i = 0; i < r_numvisedicts; i++) {
|
||||
m = r_visedicts[i]->model;
|
||||
|
||||
|
|
Loading…
Reference in a new issue