removed the defunct block_drawing global (btw, it was checked incorrectly

in GL_EndRendering()... )

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@632 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2012-02-10 22:37:07 +00:00
parent a93c6a90f5
commit f3efdba768
3 changed files with 1 additions and 8 deletions

View file

@ -116,8 +116,6 @@ qboolean scr_disabled_for_loading;
qboolean scr_drawloading;
float scr_disabled_time;
qboolean block_drawing;
int scr_tileclear_updates = 0; //johnfitz
void SCR_ScreenShot_f (void);
@ -967,9 +965,6 @@ needs almost the entire 256k of stack space!
*/
void SCR_UpdateScreen (void)
{
if (block_drawing)
return;
vid.numpages = (gl_triplebuffer.value) ? 3 : 2;
if (scr_disabled_for_loading)

View file

@ -798,7 +798,7 @@ GL_EndRendering
*/
void GL_EndRendering (void)
{
if (!scr_skipupdate || block_drawing)
if (!scr_skipupdate)
SDL_GL_SwapBuffers();
if (fullsbardraw)

View file

@ -53,8 +53,6 @@ extern cvar_t scr_viewsize;
extern cvar_t scr_sbaralpha; //johnfitz
extern qboolean block_drawing;
void SCR_UpdateWholeScreen (void);
//johnfitz -- stuff for 2d drawing control