aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11_gl.c')
-rw-r--r--src/x11_gl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/x11_gl.c b/src/x11_gl.c
index 06e2b22..934fc18 100644
--- a/src/x11_gl.c
+++ b/src/x11_gl.c
@@ -195,7 +195,7 @@ puglX11GlCreate(PuglView* view)
return PUGL_SUCCESS;
}
-static PuglStatus
+static void
puglX11GlDestroy(PuglView* view)
{
PuglX11GlSurface* surface = (PuglX11GlSurface*)view->impl->surface;
@@ -204,7 +204,6 @@ puglX11GlDestroy(PuglView* view)
free(surface);
view->impl->surface = NULL;
}
- return PUGL_SUCCESS;
}
PuglGlFunc