aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11_gl.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-25 19:29:19 +0200
committerDavid Robillard <d@drobilla.net>2019-06-25 19:29:19 +0200
commit13dd9c752cbf02dd5993642912cd22e21beb4a3c (patch)
tree1fdb019aaecff3461eb980fc962d9d860d821385 /pugl/pugl_x11_gl.c
parent7b5b07b28ec62a95883e2c8bd4a89b67da23200f (diff)
downloadpugl-13dd9c752cbf02dd5993642912cd22e21beb4a3c.tar.gz
pugl-13dd9c752cbf02dd5993642912cd22e21beb4a3c.tar.bz2
pugl-13dd9c752cbf02dd5993642912cd22e21beb4a3c.zip
Fix unnecessary const cast
Diffstat (limited to 'pugl/pugl_x11_gl.c')
-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);