From 1add965db49ab37a05ec63eecf3d19e5310d9098 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 14 Nov 2019 05:20:11 -0500 Subject: [PATCH] Decrease default screen refresh rate on Macs. --- src/settings.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index eeb1ffc4..a7278f8b 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -29,7 +29,12 @@ int threadCount = 1; bool paramTooltip = false; bool cpuMeter = false; bool lockModules = false; -int frameSwapInterval = 1; +#if defined ARCH_MAC + // Most Mac GPUs can't handle rendering the screen every frame, so use ~30 Hz by default. + int frameSwapInterval = 2; +#else + int frameSwapInterval = 1; +#endif float autosavePeriod = 15.0; bool skipLoadOnLaunch = false; std::string patchPath;