gl_clear defaults to 1 now, clears to black (avoids snow)

cl_sbar 1 should work now
This commit is contained in:
Joseph Carter 2000-02-27 06:03:58 +00:00
parent 7f08f5eadc
commit 1f52f65c74
4 changed files with 6 additions and 5 deletions

View file

@ -103,12 +103,13 @@ cvar_t r_waterwarp = {"r_waterwarp", "0"};
cvar_t r_waterripple = {"r_waterripple", "0"};
cvar_t gl_finish = {"gl_finish","0"};
cvar_t gl_clear = {"gl_clear","0"};
cvar_t gl_clear = {"gl_clear","1"};
cvar_t gl_cull = {"gl_cull","1"};
cvar_t gl_texsort = {"gl_texsort","1"};
cvar_t gl_smoothmodels = {"gl_smoothmodels","1"};
cvar_t gl_affinemodels = {"gl_affinemodels","0"};
cvar_t gl_polyblend = {"gl_polyblend","1"};
cvar_t gl_flashblend = {"gl_flashblend","1"};
cvar_t gl_playermip = {"gl_playermip","0"};
cvar_t gl_nocolors = {"gl_nocolors","0"};
#ifdef QUAKEWORLD

View file

@ -456,7 +456,7 @@ void GL_Init (void)
// Con_Printf ("%s %s\n", gl_renderer, gl_version);
glClearColor (1,0,0,0);
glClearColor (0,0,0,0);
glCullFace(GL_FRONT);
glEnable(GL_TEXTURE_2D);

View file

@ -219,7 +219,7 @@ void GL_Init (void)
gl_extensions = glGetString (GL_EXTENSIONS);
Con_Printf ("GL_EXTENSIONS: %s\n", gl_extensions);
glClearColor (1,0,0,0);
glClearColor (0,0,0,0);
glCullFace(GL_FRONT);
glEnable(GL_TEXTURE_2D);

View file

@ -958,8 +958,8 @@ void Sbar_Draw (void)
if (rogue || hipnotic)
headsup = false;
if ((sb_updates >= vid.numpages) && !headsup)
return;
// if ((sb_updates >= vid.numpages) && !headsup)
// return;
if (scr_con_current == vid.height)
return; // console is full screen