From 13dd9c752cbf02dd5993642912cd22e21beb4a3c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 Jun 2019 19:29:19 +0200 Subject: Fix unnecessary const cast --- pugl/pugl_x11_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1