mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibGL: Implement glRectf
and glRecti
This commit is contained in:
parent
4a36d6b439
commit
d83702cb92
5 changed files with 30 additions and 1 deletions
|
@ -164,3 +164,13 @@ void glNormal3fv(GLfloat const* v)
|
|||
{
|
||||
g_gl_context->gl_normal(v[0], v[1], v[2]);
|
||||
}
|
||||
|
||||
void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
|
||||
{
|
||||
g_gl_context->gl_rect(x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
void glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
|
||||
{
|
||||
g_gl_context->gl_rect(x1, y1, x2, y2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue