]> icculus.org git repositories - divverent/darkplaces.git/blob - vid_shared.c
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
[divverent/darkplaces.git] / vid_shared.c
1
2 #include "quakedef.h"
3
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.
7
8 // LordHavoc: compiled vertex array support
9 qboolean gl_supportslockarrays = false;
10 // LordHavoc: ARB multitexture support
11 qboolean gl_mtexable = false;
12 int gl_mtex_enum = 0;
13
14 void (GLAPIENTRY *qglMTexCoord2f) (GLenum, GLfloat, GLfloat);
15 void (GLAPIENTRY *qglSelectTexture) (GLenum);
16 void (GLAPIENTRY *qglLockArraysEXT) (GLint first, GLint count);
17 void (GLAPIENTRY *qglUnlockArraysEXT) (void);