aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11_gl.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-09 12:14:29 +0100
committerDavid Robillard <d@drobilla.net>2019-11-09 12:15:17 +0100
commit2b029213f97910692d1e48e097cc5cc1ad3b44b7 (patch)
treebac32d9655b1ad95b25cc0c7c777c50e2f977801 /pugl/detail/x11_gl.c
parent121bd7edc2ef105836304215d21aa733368f13f4 (diff)
downloadpugl-2b029213f97910692d1e48e097cc5cc1ad3b44b7.tar.gz
pugl-2b029213f97910692d1e48e097cc5cc1ad3b44b7.tar.bz2
pugl-2b029213f97910692d1e48e097cc5cc1ad3b44b7.zip
Fix various clang-tidy warnings
Diffstat (limited to 'pugl/detail/x11_gl.c')
-rw-r--r--pugl/detail/x11_gl.c8
1 files changed, 4 insertions, 4 deletions
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],