aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pugl/detail/mac_cairo.m16
-rw-r--r--pugl/detail/mac_gl.m16
-rw-r--r--pugl/detail/win_cairo.c16
-rw-r--r--pugl/detail/win_gl.c16
-rw-r--r--pugl/detail/x11_cairo.c16
-rw-r--r--pugl/detail/x11_gl.c16
6 files changed, 42 insertions, 54 deletions
diff --git a/pugl/detail/mac_cairo.m b/pugl/detail/mac_cairo.m
index 40f5026..94339aa 100644
--- a/pugl/detail/mac_cairo.m
+++ b/pugl/detail/mac_cairo.m
@@ -144,15 +144,13 @@ puglMacCairoGetContext(PuglView* view)
const PuglBackend* puglCairoBackend(void)
{
- static const PuglBackend backend = {
- puglStubConfigure,
- puglMacCairoCreate,
- puglMacCairoDestroy,
- puglMacCairoEnter,
- puglMacCairoLeave,
- puglStubResize,
- puglMacCairoGetContext
- };
+ static const PuglBackend backend = {puglStubConfigure,
+ puglMacCairoCreate,
+ puglMacCairoDestroy,
+ puglMacCairoEnter,
+ puglMacCairoLeave,
+ puglStubResize,
+ puglMacCairoGetContext};
return &backend;
}
diff --git a/pugl/detail/mac_gl.m b/pugl/detail/mac_gl.m
index 07df642..b0d6c5e 100644
--- a/pugl/detail/mac_gl.m
+++ b/pugl/detail/mac_gl.m
@@ -176,15 +176,13 @@ puglGetProcAddress(const char *name)
const PuglBackend* puglGlBackend(void)
{
- static const PuglBackend backend = {
- puglStubConfigure,
- puglMacGlCreate,
- puglMacGlDestroy,
- puglMacGlEnter,
- puglMacGlLeave,
- puglMacGlResize,
- puglStubGetContext
- };
+ static const PuglBackend backend = {puglStubConfigure,
+ puglMacGlCreate,
+ puglMacGlDestroy,
+ puglMacGlEnter,
+ puglMacGlLeave,
+ puglMacGlResize,
+ puglStubGetContext};
return &backend;
}
diff --git a/pugl/detail/win_cairo.c b/pugl/detail/win_cairo.c
index 84761a3..be0e1d1 100644
--- a/pugl/detail/win_cairo.c
+++ b/pugl/detail/win_cairo.c
@@ -168,15 +168,13 @@ puglWinCairoGetContext(PuglView* view)
const PuglBackend*
puglCairoBackend()
{
- static const PuglBackend backend = {
- puglWinCairoConfigure,
- puglWinCairoCreate,
- puglWinCairoDestroy,
- puglWinCairoEnter,
- puglWinCairoLeave,
- puglWinCairoResize,
- puglWinCairoGetContext
- };
+ static const PuglBackend backend = {puglWinCairoConfigure,
+ puglWinCairoCreate,
+ puglWinCairoDestroy,
+ puglWinCairoEnter,
+ puglWinCairoLeave,
+ puglWinCairoResize,
+ puglWinCairoGetContext};
return &backend;
}
diff --git a/pugl/detail/win_gl.c b/pugl/detail/win_gl.c
index d722d28..cb08831 100644
--- a/pugl/detail/win_gl.c
+++ b/pugl/detail/win_gl.c
@@ -296,15 +296,13 @@ puglGetProcAddress(const char* name)
const PuglBackend*
puglGlBackend()
{
- static const PuglBackend backend = {
- puglWinGlConfigure,
- puglWinGlCreate,
- puglWinGlDestroy,
- puglWinGlEnter,
- puglWinGlLeave,
- puglStubResize,
- puglStubGetContext
- };
+ static const PuglBackend backend = {puglWinGlConfigure,
+ puglWinGlCreate,
+ puglWinGlDestroy,
+ puglWinGlEnter,
+ puglWinGlLeave,
+ puglStubResize,
+ puglStubGetContext};
return &backend;
}
diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c
index 45fb28a..b084f5a 100644
--- a/pugl/detail/x11_cairo.c
+++ b/pugl/detail/x11_cairo.c
@@ -161,15 +161,13 @@ puglX11CairoGetContext(PuglView* view)
const PuglBackend*
puglCairoBackend(void)
{
- static const PuglBackend backend = {
- puglX11StubConfigure,
- puglX11CairoCreate,
- puglX11CairoDestroy,
- puglX11CairoEnter,
- puglX11CairoLeave,
- puglStubResize,
- puglX11CairoGetContext
- };
+ static const PuglBackend backend = {puglX11StubConfigure,
+ puglX11CairoCreate,
+ puglX11CairoDestroy,
+ puglX11CairoEnter,
+ puglX11CairoLeave,
+ puglStubResize,
+ puglX11CairoGetContext};
return &backend;
}
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;
}