Put CvarRegisterVariable(&vid_glx_mode) in the right spot, although it worked

before; now, it is organized :)
-- Eric Windisch
This commit is contained in:
Eric Windisch 2000-01-09 06:52:34 +00:00
parent 6a3e312d99
commit 0097989a6d

View file

@ -509,7 +509,6 @@ GL_Init
void GL_Init (void)
{
Cvar_RegisterVariable (&vid_glx_mode);
gl_vendor = glGetString (GL_VENDOR);
@ -633,6 +632,7 @@ void VID_Init(unsigned char *palette)
Cvar_RegisterVariable (&vid_mode);
Cvar_RegisterVariable (&gl_ztrick);
Cvar_RegisterVariable (&_windowed_mouse);
Cvar_RegisterVariable (&vid_glx_mode);
vid.maxwarpwidth = WARP_WIDTH;
vid.maxwarpheight = WARP_HEIGHT;