1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

LibGL: Implement glLightModeli

This commit is contained in:
Jelle Raaijmakers 2022-01-10 02:29:37 +01:00 committed by Linus Groh
parent e2f79c8b5f
commit 6363797e80
2 changed files with 6 additions and 0 deletions

View file

@ -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, &param);