Remove calls to Sbar_Changed from the libraries.

If this breaks things, we'll have to sort something out, but again, no libs
reaching into the exe.
This commit is contained in:
Bill Currie 2012-02-01 20:06:14 +09:00
parent 5efc78b920
commit b9bb7d95bb
8 changed files with 0 additions and 14 deletions

View file

@ -891,8 +891,6 @@ Draw_FadeScreen (void)
qfglEnd (); qfglEnd ();
qfglColor3ubv (color_white); qfglColor3ubv (color_white);
qfglEnable (GL_TEXTURE_2D); qfglEnable (GL_TEXTURE_2D);
Sbar_Changed ();
} }
static void static void

View file

@ -162,9 +162,6 @@ SCR_CalcRefdef (void)
scr_fullupdate = 0; scr_fullupdate = 0;
vid.recalc_refdef = 0; vid.recalc_refdef = 0;
// force the status bar to redraw
Sbar_Changed ();
// bound field of view // bound field of view
Cvar_SetValue (scr_fov, bound (1, scr_fov->value, 170)); Cvar_SetValue (scr_fov, bound (1, scr_fov->value, 170));
@ -278,8 +275,6 @@ SCR_DrawPause (void)
void void
SCR_SetUpToDrawConsole (void) SCR_SetUpToDrawConsole (void)
{ {
if (clearconsole++ < vid.numpages)
Sbar_Changed ();
} }
/* /*

View file

@ -223,7 +223,6 @@ SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc, SCR_Func *scr_funcs)
if (scr_fullupdate++ < vid.numpages) { // clear the entire screen if (scr_fullupdate++ < vid.numpages) { // clear the entire screen
scr_copyeverything = 1; scr_copyeverything = 1;
Draw_TileClear (0, 0, vid.width, vid.height); Draw_TileClear (0, 0, vid.width, vid.height);
Sbar_Changed ();
} }
pconupdate = NULL; pconupdate = NULL;

View file

@ -177,7 +177,6 @@ SCR_UpdateScreen (double realtime, SCR_Func scr_3dfunc, SCR_Func *scr_funcs)
if (scr_fullupdate++ < vid.numpages) { // clear the entire screen if (scr_fullupdate++ < vid.numpages) { // clear the entire screen
scr_copyeverything = 1; scr_copyeverything = 1;
Draw_TileClear (0, 0, vid.width, vid.height); Draw_TileClear (0, 0, vid.width, vid.height);
Sbar_Changed ();
} }
pconupdate = NULL; pconupdate = NULL;

View file

@ -198,7 +198,6 @@ GL_EndRendering (void)
{ {
qfglFinish (); qfglFinish ();
qf_fxMesaSwapBuffers (); qf_fxMesaSwapBuffers ();
Sbar_Changed ();
} }
static unsigned int resolutions[][3] = { static unsigned int resolutions[][3] = {

View file

@ -183,7 +183,6 @@ GL_EndRendering (void)
{ {
qfglFinish (); qfglFinish ();
qfglXSwapBuffers (x_disp, x_win); qfglXSwapBuffers (x_disp, x_win);
Sbar_Changed ();
} }
void void

View file

@ -95,7 +95,6 @@ GL_EndRendering (void)
{ {
qfglFinish (); qfglFinish ();
SDL_GL_SwapBuffers (); SDL_GL_SwapBuffers ();
Sbar_Changed ();
} }
void void

View file

@ -373,8 +373,6 @@ GL_EndRendering (void)
} }
} }
} }
if (fullsbardraw)
Sbar_Changed ();
} }
void void