mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:07:46 +00:00
LibGL: Implement glLightf{v}
and fix gl.h
prototype
This implements the `glLightf{v}` family of functions used to set lighting parameters per light in the GL. It also fixes an incorrect prototype for the user exposed version of `glLightf{v}` in which `params` was not marked as `const`.
This commit is contained in:
parent
192befa84b
commit
bf294612a7
8 changed files with 185 additions and 7 deletions
|
@ -571,7 +571,7 @@ GLAPI void glFogi(GLenum pname, GLint param);
|
|||
GLAPI void glPixelStorei(GLenum pname, GLint param);
|
||||
GLAPI void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
GLAPI void glLightf(GLenum light, GLenum pname, GLfloat param);
|
||||
GLAPI void glLightfv(GLenum light, GLenum pname, GLfloat* param);
|
||||
GLAPI void glLightfv(GLenum light, GLenum pname, GLfloat const* param);
|
||||
GLAPI void glLightModelf(GLenum pname, GLfloat param);
|
||||
GLAPI void glLightModelfv(GLenum pname, GLfloat const* params);
|
||||
GLAPI void glLightModeli(GLenum pname, GLint param);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue