mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(iOS) Should fix iOS build problems
This commit is contained in:
parent
540edd7b5d
commit
d2d240ecf5
@ -63,10 +63,6 @@ typedef struct cocoa_ctx_data
|
|||||||
|
|
||||||
static enum gfx_ctx_api cocoagl_api = GFX_CTX_NONE;
|
static enum gfx_ctx_api cocoagl_api = GFX_CTX_NONE;
|
||||||
|
|
||||||
#if defined(HAVE_COCOATOUCH)
|
|
||||||
static GLKView *g_view;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static GLContextClass* g_hw_ctx;
|
static GLContextClass* g_hw_ctx;
|
||||||
static GLContextClass* g_context;
|
static GLContextClass* g_context;
|
||||||
|
|
||||||
|
@ -49,8 +49,10 @@ id apple_platform;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
||||||
@property(nonatomic, retain) NSWindow IBOutlet *window;
|
@property(nonatomic, retain) NSWindow IBOutlet *window;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -53,6 +53,8 @@ static void *nsview_get_ptr(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOATOUCH)
|
||||||
|
static GLKView *g_view;
|
||||||
|
|
||||||
static void *glkitview_init(void)
|
static void *glkitview_init(void)
|
||||||
{
|
{
|
||||||
g_view = [GLKView new];
|
g_view = [GLKView new];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user