Go back to CocoaView pointer in prototype

This commit is contained in:
twinaphex 2021-01-16 20:37:56 +01:00
parent 2299e3b1ab
commit 757ea32782
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void *nsview_get_ptr(void)
return (BRIDGE void *)g_instance;
}
void nsview_set_ptr(BRIDGE void *p) { g_instance = (BRIDGE CocoaView*)p; }
void nsview_set_ptr(CocoaView *p) { g_instance = p; }
#if TARGET_OS_OSX
static NSOpenGLPixelFormat* g_format;

View File

@ -109,7 +109,7 @@ extern apple_frontend_settings_t apple_frontend_settings;
void *nsview_get_ptr(void);
void nsview_set_ptr(BRIDGE void *ptr);
void nsview_set_ptr(CocoaView *ptr);
void *get_chosen_screen(void);