mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
sbar.c: don't skip redrawing the status bar if we're doing glsl gamma, since it would get gamma correction applied multiple times.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1160 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
473e6edc5e
commit
90f47a907e
1 changed files with 2 additions and 1 deletions
|
@ -931,7 +931,8 @@ void Sbar_Draw (void)
|
|||
if (cl.intermission)
|
||||
return; //johnfitz -- never draw sbar during intermission
|
||||
|
||||
if (sb_updates >= vid.numpages && !gl_clear.value && scr_sbaralpha.value >= 1) //johnfitz -- gl_clear, scr_sbaralpha
|
||||
if (sb_updates >= vid.numpages && !gl_clear.value && scr_sbaralpha.value >= 1 //johnfitz -- gl_clear, scr_sbaralpha
|
||||
&& !(gl_glsl_gamma_able && vid_gamma.value != 1)) //ericw -- must draw sbar every frame if doing glsl gamma
|
||||
return;
|
||||
|
||||
sb_updates++;
|
||||
|
|
Loading…
Reference in a new issue