From 2b029213f97910692d1e48e097cc5cc1ad3b44b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Nov 2019 12:14:29 +0100 Subject: Fix various clang-tidy warnings --- pugl/detail/x11_gl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pugl/detail/x11_gl.c') diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c index ea34fc3..d64916b 100644 --- a/pugl/detail/x11_gl.c +++ b/pugl/detail/x11_gl.c @@ -47,9 +47,9 @@ puglX11GlHintValue(const int value) } static PuglStatus -puglX11GlGetAttrib(Display* const display, - const GLXFBConfig fb_config, - const int attrib) +puglX11GlGetAttrib(Display* const display, + GLXFBConfig fb_config, + const int attrib) { int value = 0; glXGetFBConfigAttrib(display, fb_config, attrib, &value); @@ -115,7 +115,7 @@ puglX11GlCreate(PuglView* view) PuglInternals* const impl = view->impl; PuglX11GlSurface* const surface = (PuglX11GlSurface*)impl->surface; Display* const display = impl->display; - const GLXFBConfig fb_config = surface->fb_config; + GLXFBConfig fb_config = surface->fb_config; const int ctx_attrs[] = { GLX_CONTEXT_MAJOR_VERSION_ARB, view->hints[PUGL_CONTEXT_VERSION_MAJOR], -- cgit v1.2.1