mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibGL: Implement glClearStencil
This commit is contained in:
parent
07bf37be75
commit
9c9fa33495
Notes:
sideshowbarker
2024-07-17 22:51:36 +09:00
Author: https://github.com/gmta
Commit: 9c9fa33495
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 27 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue