diff --git a/src/config.cpp b/src/config.cpp index 2abfd12..85f8c4d 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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) {