int bitsperpixel;
int fullscreen;
int refreshrate;
+ int stereobuffer;
} viddef_t;
// global video state
extern cvar_t vid_refreshrate;
extern cvar_t vid_vsync;
extern cvar_t vid_mouse;
+extern cvar_t vid_grabkeyboard;
extern cvar_t vid_minwidth;
extern cvar_t vid_minheight;
// 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, int refreshrate);
+int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate, int stereobuffer);
// allocates and opens an appropriate OpenGL context (and its window)