mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibGL: Implement glAlphaFunc()
This implements glAlphaFunc() for setting alpha test func and ref value and also allows enabling and disabling GL_ALPHA_TEST
This commit is contained in:
parent
b8b8b4b566
commit
1bd754882d
6 changed files with 68 additions and 2 deletions
|
@ -13,3 +13,8 @@ void glBlendFunc(GLenum sfactor, GLenum dfactor)
|
|||
{
|
||||
return g_gl_context->gl_blend_func(sfactor, dfactor);
|
||||
}
|
||||
|
||||
void glAlphaFunc(GLenum func, GLclampf ref)
|
||||
{
|
||||
return g_gl_context->gl_alpha_func(func, ref);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue