mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibGL: Implement glMateriali{v}
This commit is contained in:
parent
170739fe39
commit
371d49c0f6
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