implemented r_glsl_water cvar (refraction and reflection rendering)
[xonotic/darkplaces.git] / glquake.h
index 93f67e982e35e4ff1b1d09a7ae122c5f99e27b31..5cd68abf734bee638104bc3596fb8fe3ee31ae60 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -250,6 +250,13 @@ extern int gl_max_anisotropy;
 
 #define GL_POLYGON_STIPPLE                0x0B42
 
+#define GL_CLIP_PLANE0                    0x3000
+#define GL_CLIP_PLANE1                    0x3001
+#define GL_CLIP_PLANE2                    0x3002
+#define GL_CLIP_PLANE3                    0x3003
+#define GL_CLIP_PLANE4                    0x3004
+#define GL_CLIP_PLANE5                    0x3005
+
 #endif
 
 extern int gl_max_texture_size;
@@ -589,6 +596,9 @@ extern void (GLAPIENTRY *qglCopyTexSubImage2D)(GLenum target, GLint level, GLint
 extern void (GLAPIENTRY *qglPolygonOffset)(GLfloat factor, GLfloat units);
 extern void (GLAPIENTRY *qglPolygonMode)(GLenum face, GLenum mode);
 
+extern void (GLAPIENTRY *qglClipPlane)(GLenum plane, const GLdouble *equation);
+extern void (GLAPIENTRY *qglGetClipPlane)(GLenum plane, GLdouble *equation);
+
 //[515]: added on 29.07.2005
 extern void (GLAPIENTRY *qglLineWidth)(GLfloat width);
 extern void (GLAPIENTRY *qglPointSize)(GLfloat size);