vid_fullscreen cvar cleanup

This commit is contained in:
Bill Currie 2000-10-16 04:49:12 +00:00
parent 6868542519
commit cf8afd73a3
2 changed files with 1 additions and 5 deletions

View file

@ -241,7 +241,7 @@ x11_set_vidmode(int width, int height)
{
int i;
vid_fullscreen = Cvar_Get ("vid_fullscreen","0",0,"None");
vid_fullscreen = Cvar_Get ("vid_fullscreen","0",0,"Toggles fullscreen game mode");
XGetScreenSaver (x_disp, &xss_timeout, &xss_interval, &xss_blanking,
&xss_exposures);

View file

@ -97,8 +97,6 @@ int VID_options_items = 1;
static byte current_palette[768];
cvar_t *vid_fullscreen;
typedef unsigned short PIXEL16;
typedef unsigned long PIXEL24;
static PIXEL16 st2d_8to16table[256];
@ -456,8 +454,6 @@ void VID_Init (unsigned char *palette)
int template_mask;
//plugin_load("in_x11.so");
vid_fullscreen = Cvar_Get ("vid_fullscreen","0",CVAR_NONE,
"Toggles fullscreen game mode");
// Cmd_AddCommand("gamma", VID_Gamma_f);
for (i=0; i < 256; i++) vid_gamma[i] = i;