From 1f52f65c746d607248caada9ea11bc7218fec731 Mon Sep 17 00:00:00 2001 From: Joseph Carter Date: Sun, 27 Feb 2000 06:03:58 +0000 Subject: [PATCH] gl_clear defaults to 1 now, clears to black (avoids snow) cl_sbar 1 should work now --- common/gl_rmain.c | 3 ++- common/gl_vidglx.c | 2 +- common/gl_vidlinux_3dfx.c | 2 +- uquake/sbar.c | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common/gl_rmain.c b/common/gl_rmain.c index e542cfa..7cc74c2 100644 --- a/common/gl_rmain.c +++ b/common/gl_rmain.c @@ -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 diff --git a/common/gl_vidglx.c b/common/gl_vidglx.c index d85c41c..6c9e2d4 100644 --- a/common/gl_vidglx.c +++ b/common/gl_vidglx.c @@ -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); diff --git a/common/gl_vidlinux_3dfx.c b/common/gl_vidlinux_3dfx.c index d4e49b4..081a683 100644 --- a/common/gl_vidlinux_3dfx.c +++ b/common/gl_vidlinux_3dfx.c @@ -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); diff --git a/uquake/sbar.c b/uquake/sbar.c index 8726828..af94ee8 100644 --- a/uquake/sbar.c +++ b/uquake/sbar.c @@ -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