From 9426312710ff8b65b21c398010d7d58fb89a25ba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 1 Mar 2020 20:13:20 +0100 Subject: Cleanup: Use a consistent style for all backend definitions --- pugl/detail/x11_gl.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'pugl/detail/x11_gl.c') 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; } -- cgit v1.2.1