diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-12-01 16:20:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-12 21:51:08 +0100 |
commit | 9c9fa3349583e4ad84c17fd9308bc426ef36df7d (patch) | |
tree | 1c022e6872c011a90fee5aee1339ac2f958dbfc6 /Userland/Libraries/LibGL/GL | |
parent | 07bf37be7594a63757b8ea179fdf77295cfab0fc (diff) | |
download | serenity-9c9fa3349583e4ad84c17fd9308bc426ef36df7d.zip |
LibGL: Implement `glClearStencil`
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r-- | Userland/Libraries/LibGL/GL/gl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index 62a16caf05..b6fb20b2d4 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -51,6 +51,7 @@ extern "C" { // Buffer bits #define GL_DEPTH_BUFFER_BIT 0x00100 +#define GL_STENCIL_BUFFER_BIT 0x00400 #define GL_COLOR_BUFFER_BIT 0x04000 // Enable capabilities @@ -349,6 +350,7 @@ GLAPI void glBegin(GLenum mode); GLAPI void glClear(GLbitfield mask); GLAPI void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); GLAPI void glClearDepth(GLdouble depth); +GLAPI void glClearStencil(GLint s); GLAPI void glColor3f(GLfloat r, GLfloat g, GLfloat b); GLAPI void glColor3fv(const GLfloat* v); GLAPI void glColor3ub(GLubyte r, GLubyte g, GLubyte b); |