@@ -761,7+782,6 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp)
};
int pixelformat;
DWORD WindowStyle, ExWindowStyle;
- HGLRC baseRC;
int CenterX, CenterY;
const char *gldrivername;
int depth;
@@ -782,6+802,7 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp)
}
gldrivername = "opengl32.dll";
+// COMMANDLINEOPTION: Windows WGL: -gl_driver <drivername> selects a GL driver library, default is opengl32.dll, useful only for 3dfxogl.dll or 3dfxvgl.dll, if you don't know what this is for, you don't need it
i = COM_CheckParm("-gl_driver");
if (i && i < com_argc - 1)
gldrivername = com_argv[i + 1];
@@ -821,13+842,13 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp)
if (i & RC_PALETTE)
{
VID_Shutdown();
- Con_Printf ("Can't run in non-RGB mode\n");
+ Con_Print("Can't run in non-RGB mode\n");
return false;
}
if (bpp > depth)
{
VID_Shutdown();
- Con_Printf ("A higher desktop depth is required to run this video mode\n");
+ Con_Print("A higher desktop depth is required to run this video mode\n");
return false;
}
@@ -880,10+901,7 @@ int VID_InitMode (int fullscreen, int width, int height, int bpp)