1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

LibGL: Implement glClearStencil

This commit is contained in:
Jelle Raaijmakers 2021-12-01 16:20:22 +01:00 committed by Andreas Kling
parent 07bf37be75
commit 9c9fa33495
5 changed files with 27 additions and 2 deletions

View file

@ -9,6 +9,11 @@
extern GL::GLContext* g_gl_context;
void glClearStencil(GLint s)
{
g_gl_context->gl_clear_stencil(s);
}
void glStencilFunc(GLenum func, GLint ref, GLuint mask)
{
g_gl_context->gl_stencil_func_separate(GL_FRONT_AND_BACK, func, ref, mask);