mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibGL: Implement glUseProgram
This commit is contained in:
parent
1812a169b8
commit
69171e7a05
4 changed files with 25 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue