diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-11-27 19:00:16 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-11-28 09:20:58 -0800 |
commit | bb58f6ccabc0e47fd5ef4dfcc911fbc6db0e8677 (patch) | |
tree | ab1a7910a08a5b3d1948a0dbe321abcee96609e0 /Userland/Libraries/LibGL/GL | |
parent | 6dd2ebfe8e3a4927edfc49fc4f14ca08189631e0 (diff) | |
download | serenity-bb58f6ccabc0e47fd5ef4dfcc911fbc6db0e8677.zip |
LibGL: Implement `glScissor()`
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r-- | Userland/Libraries/LibGL/GL/gl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index dc8406d6e8..a0fb0bac3d 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -290,6 +290,10 @@ extern "C" { #define GL_FOG_COLOR 0x0B66 #define GL_FOG_DENSITY 0x0B62 +// Scissor enums +#define GL_SCISSOR_BOX 0x0C10 +#define GL_SCISSOR_TEST 0x0C11 + // OpenGL State & GLGet #define GL_MODELVIEW_MATRIX 0x0BA6 @@ -416,6 +420,7 @@ GLAPI void glFogfv(GLenum mode, GLfloat* params); GLAPI void glFogf(GLenum pname, GLfloat param); GLAPI void glFogi(GLenum pname, GLint param); GLAPI void glPixelStorei(GLenum pname, GLint param); +GLAPI void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); #ifdef __cplusplus } |