aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_x11_gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c
index f9e3ce2..b1399cc 100644
--- a/pugl/pugl_x11_gl.c
+++ b/pugl/pugl_x11_gl.c
@@ -120,7 +120,7 @@ puglX11GlCreate(PuglView* view)
CreateContextAttribs create_context =
(CreateContextAttribs)glXGetProcAddress(
- (GLubyte*)"glXCreateContextAttribsARB");
+ (const GLubyte*)"glXCreateContextAttribsARB");
impl->surface = surface;
surface->ctx = create_context(display, fb_config, 0, GL_TRUE, ctx_attrs);