LibGL: Implement glUseProgram

This commit is contained in:
Stephan Unverwerth 2022-08-28 15:39:44 +02:00 committed by Andrew Kaster
commit 69171e7a05
Notes: sideshowbarker 2024-07-17 08:34:29 +09:00
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);