Skip to content

Commit

Permalink
Add glMaterialf
Browse files Browse the repository at this point in the history
  • Loading branch information
mardy committed May 20, 2024
1 parent b6b861e commit 223fd7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gc_gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,11 @@ void glLightModelfv(GLenum pname, const GLfloat *params)
glparamstate.dirty.bits.dirty_material = 1;
};

void glMaterialf(GLenum face, GLenum pname, GLfloat param)
{
glMaterialfv(face, pname, &param);
}

void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
{
switch (pname) {
Expand Down

0 comments on commit 223fd7e

Please sign in to comment.