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:
parent
cba1972deb
commit
53d6e1600c
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue