fudge nuggets

This commit is contained in:
Struma 2022-01-23 08:41:32 -05:00
parent 2fb6510fd5
commit ac9f56c41c

View file

@ -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) {