diff options
Diffstat (limited to 'src/mac_gl.m')
-rw-r--r-- | src/mac_gl.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mac_gl.m b/src/mac_gl.m index 25fcede..dd94e54 100644 --- a/src/mac_gl.m +++ b/src/mac_gl.m @@ -1,4 +1,4 @@ -// Copyright 2019-2020 David Robillard <d@drobilla.net> +// Copyright 2019-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC #include "implementation.h" @@ -120,7 +120,7 @@ puglMacGlCreate(PuglView* view) return PUGL_SUCCESS; } -static PuglStatus +static void puglMacGlDestroy(PuglView* view) { PuglOpenGLView* const drawView = (PuglOpenGLView*)view->impl->drawView; @@ -129,7 +129,6 @@ puglMacGlDestroy(PuglView* view) [drawView release]; view->impl->drawView = nil; - return PUGL_SUCCESS; } static PuglStatus |