Disable blitting option for arm64 macOS (post-revert)

This commit is contained in:
Roza 2020-12-26 10:30:20 -05:00
parent 4e7a8b4779
commit 4af4aeea5c

View file

@ -154,7 +154,17 @@ try { exp } catch (...) {}
SET_OPT(syncToRefreshrate, boolean);
SET_OPT(solidFonts, boolean);
SET_OPT(subImageFix, boolean);
// On Apple Silicon macs, OpenGL is implemented on top of Metal.
// It isn't particularly happy with some of MKXP's code, and
// crashes fairly often. Forcing off 'enableBlitting' helps with
// this. Hopefully ANGLE will be buildable on ARM64 soon
#if defined(__MACOSX__) && defined(__aarch64__)
enableBlitting = false;
#else
SET_OPT(enableBlitting, boolean);
#endif
SET_OPT(maxTextureSize, integer);
SET_STRINGOPT(gameFolder, gameFolder);
SET_OPT(anyAltToggleFS, boolean);