diff --git a/include/r_cvar.h b/include/r_cvar.h index 123b6855b..6d04d0cf6 100644 --- a/include/r_cvar.h +++ b/include/r_cvar.h @@ -36,7 +36,7 @@ extern struct cvar_s *gl_reporttjunctions; extern struct cvar_s *gl_sky_clip; extern struct cvar_s *gl_sky_debug; extern struct cvar_s *gl_sky_divide; -extern struct cvar_s *gl_skymultipass; +extern struct cvar_s *gl_sky_multipass; extern struct cvar_s *gl_texsort; extern struct cvar_s *gl_triplebuffer; diff --git a/libs/video/renderer/gl/gl_sky.c b/libs/video/renderer/gl/gl_sky.c index 0f36ea2b7..2d66c3de0 100644 --- a/libs/video/renderer/gl/gl_sky.c +++ b/libs/video/renderer/gl/gl_sky.c @@ -251,7 +251,7 @@ R_DrawSkyDome (void) qfglEnable (GL_BLEND); // clouds - if (gl_skymultipass->int_val) { + if (gl_sky_multipass->int_val) { qfglBindTexture (GL_TEXTURE_2D, alphaskytexture); domescale[0] = 512; domescale[1] = 512; diff --git a/libs/video/renderer/gl/gl_sky_clip.c b/libs/video/renderer/gl/gl_sky_clip.c index a7e6c3b7b..fb29065ba 100644 --- a/libs/video/renderer/gl/gl_sky_clip.c +++ b/libs/video/renderer/gl/gl_sky_clip.c @@ -764,7 +764,7 @@ draw_id_sky_polys (const msurface_t *sky_chain) sc = sc->texturechain; } - if (gl_skymultipass->int_val) { + if (gl_sky_multipass->int_val) { sc = sky_chain; speedscale = r_realtime / 8; diff --git a/libs/video/renderer/r_cvar.c b/libs/video/renderer/r_cvar.c index 815d207c6..fc0eb57f3 100644 --- a/libs/video/renderer/r_cvar.c +++ b/libs/video/renderer/r_cvar.c @@ -78,7 +78,7 @@ cvar_t *gl_playermip; cvar_t *gl_reporttjunctions; cvar_t *gl_sky_clip; cvar_t *gl_sky_debug; -cvar_t *gl_skymultipass; +cvar_t *gl_sky_multipass; cvar_t *gl_texsort; cvar_t *gl_triplebuffer; @@ -272,7 +272,7 @@ R_Init_Cvars (void) "debugging `info' for sky clipping"); gl_sky_divide = Cvar_Get ("gl_sky_divide", "1", CVAR_ARCHIVE, NULL, "subdivide sky polys"); - gl_skymultipass = Cvar_Get ("gl_skymultipass", "1", CVAR_ARCHIVE, NULL, + gl_sky_multipass = Cvar_Get ("gl_sky_multipass", "1", CVAR_ARCHIVE, NULL, "controls whether the skydome is single or " "double pass"); gl_texsort = Cvar_Get ("gl_texsort", "1", CVAR_NONE, NULL, "None");