mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 23:39:44 +00:00
LibGL: Implement glColorMask
This commit is contained in:
parent
fa8e9cb683
commit
8157e7740b
Notes:
sideshowbarker
2024-07-18 05:39:04 +09:00
Author: https://github.com/Quaker762
Commit: 8157e7740b
Pull-request: https://github.com/SerenityOS/serenity/pull/9381
Reviewed-by: https://github.com/sunverwerth ✅
7 changed files with 41 additions and 3 deletions
|
@ -45,6 +45,11 @@ void glClearDepth(GLdouble depth)
|
|||
g_gl_context->gl_clear_depth(depth);
|
||||
}
|
||||
|
||||
void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
|
||||
{
|
||||
g_gl_context->gl_color_mask(red, green, blue, alpha);
|
||||
}
|
||||
|
||||
GLubyte* glGetString(GLenum name)
|
||||
{
|
||||
return g_gl_context->gl_get_string(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue