aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11_gl.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-01 20:13:20 +0100
committerDavid Robillard <d@drobilla.net>2020-03-01 20:32:43 +0100
commit9426312710ff8b65b21c398010d7d58fb89a25ba (patch)
treeb4adbd863671d6205d038bd55b97c39f8b62cbc1 /pugl/detail/x11_gl.c
parent0d37c19ac71d153a093960eadccf791f54fc2547 (diff)
downloadpugl-9426312710ff8b65b21c398010d7d58fb89a25ba.tar.gz
pugl-9426312710ff8b65b21c398010d7d58fb89a25ba.tar.bz2
pugl-9426312710ff8b65b21c398010d7d58fb89a25ba.zip
Cleanup: Use a consistent style for all backend definitions
Diffstat (limited to 'pugl/detail/x11_gl.c')
-rw-r--r--pugl/detail/x11_gl.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/pugl/detail/x11_gl.c b/pugl/detail/x11_gl.c
index 5dd6d68..415f664 100644
--- a/pugl/detail/x11_gl.c
+++ b/pugl/detail/x11_gl.c
@@ -193,15 +193,13 @@ puglGetProcAddress(const char* name)
const PuglBackend* puglGlBackend(void)
{
- static const PuglBackend backend = {
- puglX11GlConfigure,
- puglX11GlCreate,
- puglX11GlDestroy,
- puglX11GlEnter,
- puglX11GlLeave,
- puglStubResize,
- puglStubGetContext
- };
+ static const PuglBackend backend = {puglX11GlConfigure,
+ puglX11GlCreate,
+ puglX11GlDestroy,
+ puglX11GlEnter,
+ puglX11GlLeave,
+ puglStubResize,
+ puglStubGetContext};
return &backend;
}