diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/macos.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macos.m b/src/macos.m index 1019d13d..ad236784 100644 --- a/src/macos.m +++ b/src/macos.m | |||
@@ -72,10 +72,10 @@ static NSString *currentSystemAppearance_(void) { | |||
72 | } | 72 | } |
73 | 73 | ||
74 | iBool shouldDefaultToMetalRenderer_MacOS(void) { | 74 | iBool shouldDefaultToMetalRenderer_MacOS(void) { |
75 | /* TODO: Test if SDL 2.0.16 works better (no stutters with Metal?). */ | ||
76 | return iFalse; /* | ||
77 | const iInt2 ver = macVer_(); | 75 | const iInt2 ver = macVer_(); |
78 | return ver.x > 10 || ver.y > 13;*/ | 76 | SDL_DisplayMode dispMode; |
77 | SDL_GetDesktopDisplayMode(0, &dispMode); | ||
78 | return dispMode.refresh_rate > 60 && (ver.x > 10 || ver.y > 13); | ||
79 | } | 79 | } |
80 | 80 | ||
81 | static void ignoreImmediateKeyDownEvents_(void) { | 81 | static void ignoreImmediateKeyDownEvents_(void) { |