Backport Cvar callbacks to newtree. Software gamma still doesn't work in

GL, and I still don't know exactly why.
This commit is contained in:
Jeff Teunissen 2001-05-13 05:10:02 +00:00
parent 75089e506e
commit 272abade38
57 changed files with 420 additions and 447 deletions

View file

@ -625,10 +625,10 @@ VID_Init (unsigned char *palette)
void
VID_Init_Cvars ()
{
vid_mode = Cvar_Get ("vid_mode", "0", CVAR_NONE, "Sets the video mode");
vid_redrawfull = Cvar_Get ("vid_redrawfull", "0", CVAR_NONE,
vid_mode = Cvar_Get ("vid_mode", "0", CVAR_NONE, NULL, "Sets the video mode");
vid_redrawfull = Cvar_Get ("vid_redrawfull", "0", CVAR_NONE, NULL,
"Redraw entire screen each frame instead of just dirty areas");
vid_waitforrefresh = Cvar_Get ("vid_waitforrefresh", "0", CVAR_ARCHIVE,
vid_waitforrefresh = Cvar_Get ("vid_waitforrefresh", "0", CVAR_ARCHIVE, NULL,
"Wait for vertical retrace before drawing next frame");
}