]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Remove gl_dither cvar, it isn't supported in GL3.2 Core Profile.
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 Jul 2018 23:04:41 +0000 (23:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 29 Jul 2018 23:04:41 +0000 (23:04 +0000)
Remove unused gl_fbo cvar.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12440 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c
gl_backend.c
render.h

index 197e632e248bdcb58bd0fe53818e66b570606bde..36eccda64f572647d72b226c2a161164a218695d 100644 (file)
@@ -2792,15 +2792,6 @@ void CL_UpdateScreen(void)
        {
                CHECKGLERROR
                qglDrawBuffer(GL_BACK);CHECKGLERROR
-               // set dithering mode
-               if (gl_dither.integer)
-               {
-                       qglEnable(GL_DITHER);CHECKGLERROR
-               }
-               else
-               {
-                       qglDisable(GL_DITHER);CHECKGLERROR
-               }
        }
 #endif
 
index 60487161c7ec195b77051e1d8c8b8879056d8382..73c011029e1f0158c884179fc16c0bdb64d0b767 100644 (file)
@@ -82,8 +82,6 @@ cvar_t r_render = {0, "r_render", "1", "enables rendering 3D views (you want thi
 cvar_t r_renderview = {0, "r_renderview", "1", "enables rendering 3D views (you want this on!)"};
 cvar_t r_waterwarp = {CVAR_SAVE, "r_waterwarp", "1", "warp view while underwater"};
 cvar_t gl_polyblend = {CVAR_SAVE, "gl_polyblend", "1", "tints view while underwater, hurt, etc"};
-cvar_t gl_dither = {CVAR_SAVE, "gl_dither", "1", "enables OpenGL dithering (16bit looks bad with this off)"};
-cvar_t gl_fbo = {CVAR_SAVE, "gl_fbo", "1", "make use of GL_ARB_framebuffer_object extension to enable shadowmaps and other features using pixel formats different from the framebuffer"};
 
 cvar_t v_flipped = {0, "v_flipped", "0", "mirror the screen (poor man's left handed mode)"};
 qboolean v_flipped_state = false;
index b22cae4857dcd49d5c76b3a20b11cec5965a164b..9df7309de8356a261366399b3e1e307cb42625d6 100644 (file)
--- a/render.h
+++ b/render.h
@@ -312,7 +312,6 @@ extern cvar_t r_glsl_offsetmapping_lod_distance;
 extern cvar_t r_glsl_deluxemapping;
 
 extern cvar_t gl_polyblend;
-extern cvar_t gl_dither;
 
 extern cvar_t cl_deathfade;