Force a status bar update if scr_copyeverything is true.

This fixes the flickering status bar for those renderers that use
scr_copyeverything correctly. sw and sw32. glsl flukes out by not touching
scr_copyeverything and gl is wrong by always clearing it to 0 and never
setting it later.
This commit is contained in:
Bill Currie 2013-01-13 17:10:11 +09:00
parent 4a95f89760
commit bc7cd457e3
2 changed files with 6 additions and 0 deletions

View file

@ -990,6 +990,9 @@ Sbar_Draw (void)
{
qboolean headsup;
if (r_data->scr_copyeverything)
Sbar_Changed ();
sbar_view->visible = 0;
headsup = !(hud_sbar->int_val || r_data->scr_viewsize->int_val < 100);

View file

@ -913,6 +913,9 @@ Sbar_Draw (void)
{
qboolean headsup;
if (r_data->scr_copyeverything)
Sbar_Changed ();
sbar_view->visible = 0;
headsup = !(hud_sbar->int_val || r_data->scr_viewsize->int_val < 100);