]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - glquake.h
Implement OpenGL version checking, use it for occlusion queries
[xonotic/darkplaces.git] / glquake.h
index e3f8f6d0eee4a40e35865228f932683369869952..46efbf0721fe6ac23334c0a201fe1f9502d918b4 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -1034,6 +1034,8 @@ extern void (GLAPIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei h
 #define GL_TEXTURE_3D                          0x806F
 
 #define GL_HALF_FLOAT                                    0x140B
+#define GL_MAJOR_VERSION                  0x821B
+#define GL_MINOR_VERSION                  0x821C
 #define GL_NUM_EXTENSIONS                 0x821D