mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 17:29:21 +00:00
LibGL: Implement glMateriali{v}
This commit is contained in:
parent
170739fe39
commit
371d49c0f6
Notes:
sideshowbarker
2024-07-17 20:11:03 +09:00
Author: https://github.com/Quaker762
Commit: 371d49c0f6
Pull-request: https://github.com/SerenityOS/serenity/pull/12036
Reviewed-by: https://github.com/gmta ✅
5 changed files with 62 additions and 0 deletions
|
@ -81,6 +81,16 @@ void glMaterialfv(GLenum face, GLenum pname, GLfloat const* params)
|
|||
g_gl_context->gl_materialfv(face, pname, params);
|
||||
}
|
||||
|
||||
void glMateriali(GLenum face, GLenum pname, GLint param)
|
||||
{
|
||||
g_gl_context->gl_materialf(face, pname, param);
|
||||
}
|
||||
|
||||
void glMaterialiv(GLenum face, GLenum pname, GLint const* params)
|
||||
{
|
||||
g_gl_context->gl_materialiv(face, pname, params);
|
||||
}
|
||||
|
||||
void glShadeModel(GLenum mode)
|
||||
{
|
||||
g_gl_context->gl_shade_model(mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue