summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.h
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/GLContext.h
parent07bf37be7594a63757b8ea179fdf77295cfab0fc (diff)
downloadserenity-9c9fa3349583e4ad84c17fd9308bc426ef36df7d.zip
LibGL: Implement `glClearStencil`
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r--Userland/Libraries/LibGL/GLContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h
index 6ab2238c36..56e2337df9 100644
--- a/Userland/Libraries/LibGL/GLContext.h
+++ b/Userland/Libraries/LibGL/GLContext.h
@@ -22,6 +22,7 @@ public:
virtual void gl_clear(GLbitfield mask) = 0;
virtual void gl_clear_color(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = 0;
virtual void gl_clear_depth(GLdouble depth) = 0;
+ virtual void gl_clear_stencil(GLint s) = 0;
virtual void gl_color(GLdouble r, GLdouble g, GLdouble b, GLdouble a) = 0;
virtual void gl_delete_textures(GLsizei n, const GLuint* textures) = 0;
virtual void gl_end() = 0;