aboutsummaryrefslogtreecommitdiffstats
path: root/src/win_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win_gl.c')
-rw-r--r--src/win_gl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/win_gl.c b/src/win_gl.c
index 327ba38..718a93c 100644
--- a/src/win_gl.c
+++ b/src/win_gl.c
@@ -1,4 +1,4 @@
-// Copyright 2012-2020 David Robillard <d@drobilla.net>
+// Copyright 2012-2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#include "stub.h"
@@ -238,7 +238,7 @@ puglWinGlCreate(PuglView* view)
return PUGL_SUCCESS;
}
-static PuglStatus
+static void
puglWinGlDestroy(PuglView* view)
{
PuglWinGlSurface* surface = (PuglWinGlSurface*)view->impl->surface;
@@ -248,8 +248,6 @@ puglWinGlDestroy(PuglView* view)
free(surface);
view->impl->surface = NULL;
}
-
- return PUGL_SUCCESS;
}
static PuglStatus