1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:07:34 +00:00

LibGL: Implement glColor3fv

This commit is contained in:
Jesse Buhagiar 2021-08-13 21:06:02 +10:00 committed by Ali Mohammad Pur
parent 296452a981
commit 90e6b9d453
2 changed files with 5 additions and 0 deletions

View file

@ -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)
{