From 55a766b0bc5f08af69f6ba42deaaf116b466878f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 19 Jan 2021 07:28:42 +0100 Subject: [PATCH] (CocoaGL) Add forward declaration --- gfx/drivers_context/cocoa_gl_ctx.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/drivers_context/cocoa_gl_ctx.m b/gfx/drivers_context/cocoa_gl_ctx.m index 7889574868..a7dcb78ca9 100644 --- a/gfx/drivers_context/cocoa_gl_ctx.m +++ b/gfx/drivers_context/cocoa_gl_ctx.m @@ -79,6 +79,9 @@ static unsigned g_gl_major = 0; static GLKView *glk_view = NULL; #endif +/* Forward declaration */ +CocoaView *cocoaview_get(void); + static uint32_t cocoa_gl_gfx_ctx_get_flags(void *data) { uint32_t flags = 0;