Attempt to fix build for iOS

This commit is contained in:
twinaphex 2021-01-16 17:02:25 +01:00
parent 1ea46ea171
commit 4e74a6f8b1
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(void *p) { g_instance = (CocoaView*)p; }
void nsview_set_ptr(BRIDGE void *p) { g_instance = (BRIDGE CocoaView*)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(void *ptr);
void nsview_set_ptr(BRIDGE void *ptr);
void *get_chosen_screen(void);