summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GL
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-12-01 16:20:22 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-12 21:51:08 +0100
commit9c9fa3349583e4ad84c17fd9308bc426ef36df7d (patch)
tree1c022e6872c011a90fee5aee1339ac2f958dbfc6 /Userland/Libraries/LibGL/GL
parent07bf37be7594a63757b8ea179fdf77295cfab0fc (diff)
downloadserenity-9c9fa3349583e4ad84c17fd9308bc426ef36df7d.zip
LibGL: Implement `glClearStencil`
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r--Userland/Libraries/LibGL/GL/gl.h2
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);