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

LibGL: Implement glUseProgram

This commit is contained in:
Stephan Unverwerth 2022-08-28 15:39:44 +02:00 committed by Andrew Kaster
parent 1812a169b8
commit 69171e7a05
4 changed files with 25 additions and 0 deletions

View file

@ -1043,6 +1043,11 @@ void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
g_gl_context->gl_translate(x, y, z);
}
void glUseProgram(GLuint program)
{
g_gl_context->gl_use_program(program);
}
void glVertex2d(GLdouble x, GLdouble y)
{
g_gl_context->gl_vertex(x, y, 0.0, 1.0);