diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-01-10 02:29:37 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-11 23:47:42 +0100 |
commit | 6363797e80a4a639f81783401c18fac552f4e75a (patch) | |
tree | 746ba06c58485673f4a10592143485d1066b6b41 /Userland/Libraries/LibGL/GLLights.cpp | |
parent | e2f79c8b5f337225b65a508ec4fe0edfde3a3c67 (diff) | |
download | serenity-6363797e80a4a639f81783401c18fac552f4e75a.zip |
LibGL: Implement `glLightModeli`
Diffstat (limited to 'Userland/Libraries/LibGL/GLLights.cpp')
-rw-r--r-- | Userland/Libraries/LibGL/GLLights.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLLights.cpp b/Userland/Libraries/LibGL/GLLights.cpp index 70d0c777db..e30aeb191b 100644 --- a/Userland/Libraries/LibGL/GLLights.cpp +++ b/Userland/Libraries/LibGL/GLLights.cpp @@ -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); |