summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLAPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGL/GLAPI.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLAPI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLAPI.cpp b/Userland/Libraries/LibGL/GLAPI.cpp
index 7ded1b0023..8d41f1f8fc 100644
--- a/Userland/Libraries/LibGL/GLAPI.cpp
+++ b/Userland/Libraries/LibGL/GLAPI.cpp
@@ -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);