mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-22 06:02:04 +02:00
fudge nuggets
This commit is contained in:
parent
2fb6510fd5
commit
ac9f56c41c
1 changed files with 2 additions and 1 deletions
|
@ -257,10 +257,11 @@ try { exp } catch (...) {}
|
|||
const char *consoleEnv = SDL_getenv("MKXPZ_WINDOWS_CONSOLE");
|
||||
winConsole = ((consoleEnv && !strcmp(consoleEnv, "1")) || editor.debug);
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Determine whether to use the Metal renderer on macOS
|
||||
const char *metalEnv = SDL_getenv("MKXPZ_MACOS_METAL");
|
||||
preferMetalRenderer = (!metalEnv || strcmp(metalEnv, "0")) && isMetalSupported();
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
static void setupScreenSize(Config &conf) {
|
||||
|
|
Loading…
Add table
Reference in a new issue