aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_x11_gl.c')
-rw-r--r--pugl/pugl_x11_gl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c
index 6c007b1..f9e3ce2 100644
--- a/pugl/pugl_x11_gl.c
+++ b/pugl/pugl_x11_gl.c
@@ -186,6 +186,12 @@ puglX11GlGetHandle(PuglView* view)
return NULL;
}
+PuglGlFunc
+puglGetProcAddress(const char* name)
+{
+ return glXGetProcAddress((const GLubyte*)name);
+}
+
PuglDrawContext puglGetX11GlDrawContext(void)
{
static const PuglDrawContext puglX11GlDrawContext = {