mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-25 16:23:46 +02:00
Xcode, start GL in new thread depending on build OS version
This commit is contained in:
parent
8ccc053e0b
commit
3d84529dbc
2 changed files with 11 additions and 4 deletions
|
@ -3567,7 +3567,7 @@
|
|||
CURRENT_PROJECT_VERSION = 2.0;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||
|
@ -3654,7 +3654,7 @@
|
|||
CURRENT_PROJECT_VERSION = 2.0;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||
|
@ -3738,7 +3738,7 @@
|
|||
CURRENT_PROJECT_VERSION = 2.0;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||
|
@ -3825,7 +3825,7 @@
|
|||
CURRENT_PROJECT_VERSION = 2.0;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||
|
|
|
@ -54,6 +54,13 @@
|
|||
#include "steamshim_child.h"
|
||||
#endif
|
||||
|
||||
#ifdef MKXPZ_BUILD_XCODE
|
||||
#include <Availability.h>
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED < __MAC_10_15
|
||||
#define THREADED_GLINIT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef THREADED_GLINIT
|
||||
#define GLINIT_SHOWERROR(s) showInitError(s)
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue