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

LibGL: Implement glColorMask

This commit is contained in:
Jesse Buhagiar 2021-08-13 22:03:39 +10:00 committed by Linus Groh
parent fa8e9cb683
commit 8157e7740b
7 changed files with 41 additions and 3 deletions

View file

@ -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);