git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3774
d7cf8633-e32d-0410-b094-
e92efae38249
// sets the mode; only used by the Quake engine for resetting to mode 0 (the
// base mode) on memory allocation failures
+int VID_InitMode(int fullscreen, int width, int height, int bpp);
+// allocates and opens an appropriate OpenGL context (and its window)
+
+
// sets hardware gamma correction, returns false if the device does not
// support gamma control
int VID_SetGamma (unsigned short *ramps);
int current_vid_width;
int current_vid_height;
int current_vid_bitsperpixel;
-extern int VID_InitMode (int fullscreen, int width, int height, int bpp);
int VID_Mode(int fullscreen, int width, int height, int bpp)
{
Con_Printf("Video: %s %dx%dx%d\n", fullscreen ? "fullscreen" : "window", width, height, bpp);