mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Buildfix
This commit is contained in:
parent
e97682d4ca
commit
2324399fa8
@ -43,6 +43,12 @@
|
||||
#include "../../configuration.h"
|
||||
#include "../../verbosity.h"
|
||||
|
||||
#if __has_feature(objc_arc)
|
||||
#define BRIDGE __bridge
|
||||
#else
|
||||
#define BRIDGE
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
#define GLContextClass EAGLContext
|
||||
#define GLFrameworkID CFSTR("com.apple.opengles")
|
||||
@ -56,12 +62,6 @@
|
||||
#define UIUserInterfaceIdiomCarPlay 3
|
||||
#endif
|
||||
|
||||
#if __has_feature(objc_arc)
|
||||
#define BRIDGE __bridge
|
||||
#else
|
||||
#define BRIDGE
|
||||
#endif
|
||||
|
||||
@interface EAGLContext (OSXCompat) @end
|
||||
@implementation EAGLContext (OSXCompat)
|
||||
+ (void)clearCurrentContext { [EAGLContext setCurrentContext:nil]; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user