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

LibGL: Implement glTexCoord2f

This commit is contained in:
Jesse Buhagiar 2021-05-23 20:38:18 +10:00 committed by Ali Mohammad Pur
parent 4f324ba4d7
commit e21ba0cd12
5 changed files with 19 additions and 0 deletions

View file

@ -140,6 +140,11 @@ void glVertex4sv(const GLshort* v)
g_gl_context->gl_vertex(v[0], v[1], v[2], v[3]);
}
void glTexCoord2f(GLfloat s, GLfloat t)
{
g_gl_context->gl_tex_coord(s, t, 0.0f, 0.0f);
}
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
{
g_gl_context->gl_rotate(angle, x, y, z);