4 // LordHavoc: these are only set in wgl
5 qboolean isG200 = false; // LordHavoc: the Matrox G200 can't do per pixel alpha, and it uses a D3D driver for GL... ugh...
6 qboolean isRagePro = false; // LordHavoc: the ATI Rage Pro has limitations with per pixel alpha (the color scaler does not apply to per pixel alpha images...), although not as bad as a G200.
8 // LordHavoc: compiled vertex array support
9 qboolean gl_supportslockarrays = false;
10 // LordHavoc: ARB multitexture support
11 qboolean gl_mtexable = false;
14 cvar_t vid_mode = {"vid_mode", "0", false};
15 cvar_t vid_mouse = {"vid_mouse", "1", true};
16 cvar_t vid_fullscreen = {"vid_fullscreen", "1"};
18 void (GLAPIENTRY *qglMTexCoord2f) (GLenum, GLfloat, GLfloat);
19 void (GLAPIENTRY *qglSelectTexture) (GLenum);
20 void (GLAPIENTRY *qglLockArraysEXT) (GLint first, GLint count);
21 void (GLAPIENTRY *qglUnlockArraysEXT) (void);
23 void VID_InitCvars(void)
25 Cvar_RegisterVariable(&vid_mode);
26 Cvar_RegisterVariable(&vid_mouse);
27 Cvar_RegisterVariable(&vid_fullscreen);