mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibGL: Implement glClearStencil
This commit is contained in:
parent
07bf37be75
commit
9c9fa33495
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