mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibGL: Implement glLightModeli
This commit is contained in:
parent
e2f79c8b5f
commit
6363797e80
2 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,11 @@ void glLightModelfv(GLenum pname, GLfloat const* params)
|
|||
}
|
||||
}
|
||||
|
||||
void glLightModeli(GLenum pname, GLint param)
|
||||
{
|
||||
g_gl_context->gl_light_model(pname, param, 0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
void glMaterialf(GLenum face, GLenum pname, GLfloat param)
|
||||
{
|
||||
g_gl_context->gl_materialv(face, pname, ¶m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue