]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - glquake.h
implemented scissor rect clipping of lights in realtime lighting mode
[xonotic/darkplaces.git] / glquake.h
index f68e815fd96da70945d94c7cf4f4e58d526898a8..ef65f0d1b4b903f49f8ecbd4b5ff811faf851fd0 100644 (file)
--- a/glquake.h
+++ b/glquake.h
@@ -337,6 +337,12 @@ extern int gl_dot3ext;
 #endif
 */
 
+#ifndef GL_SCISSOR_TEST
+#define GL_SCISSOR_TEST                                0x0C11
+#define GL_SCISSOR_BOX                         0x0C10
+#endif
+
+extern void (GLAPIENTRY *qglScissor)(GLint x, GLint y, GLsizei width, GLsizei height);
 
 extern void (GLAPIENTRY *qglClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);