diff options
author | David Robillard <d@drobilla.net> | 2019-06-25 19:29:19 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-06-25 19:29:19 +0200 |
commit | 13dd9c752cbf02dd5993642912cd22e21beb4a3c (patch) | |
tree | 1fdb019aaecff3461eb980fc962d9d860d821385 /pugl/pugl_x11_gl.c | |
parent | 7b5b07b28ec62a95883e2c8bd4a89b67da23200f (diff) | |
download | pugl-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.c | 2 |
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); |