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

LibGL: Stub glStencilMask

Xash3D requires this otherwise it will crash with a jump to nullptr,
but it doesn't use it for anything interesting and just sets a default
value of ~0 during initialization.
This commit is contained in:
Luke Wilde 2022-01-12 07:50:32 +00:00 committed by Idan Horowitz
parent cba1972deb
commit 53d6e1600c
2 changed files with 6 additions and 0 deletions

View file

@ -33,3 +33,8 @@ void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass
{
g_gl_context->gl_stencil_op_separate(face, sfail, dpfail, dppass);
}
void glStencilMask(GLuint mask)
{
dbgln("(STUBBED) glStencilMask(0x{:08x})", mask);
}