mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibGL: Implement glColor3fv
This commit is contained in:
parent
296452a981
commit
90e6b9d453
2 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,10 @@ void glColor3f(GLfloat r, GLfloat g, GLfloat b)
|
|||
{
|
||||
g_gl_context->gl_color(r, g, b, 1.0);
|
||||
}
|
||||
void glColor3fv(const GLfloat* v)
|
||||
{
|
||||
g_gl_context->gl_color(v[0], v[1], v[2], 1.0);
|
||||
}
|
||||
|
||||
void glColor4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue