From a6e1124175fb55d51903f998f43d3ab1a2f771d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 14 Apr 2024 18:43:45 +0200 Subject: [PATCH] Fix mac-specific highdpi issue workaround (#21785) --- src/openrct2-ui/drawing/engines/SoftwareDrawingEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/drawing/engines/SoftwareDrawingEngine.cpp b/src/openrct2-ui/drawing/engines/SoftwareDrawingEngine.cpp index f0ad1fc27d..998cfefbcd 100644 --- a/src/openrct2-ui/drawing/engines/SoftwareDrawingEngine.cpp +++ b/src/openrct2-ui/drawing/engines/SoftwareDrawingEngine.cpp @@ -124,7 +124,7 @@ private: // On macOS with high DPI ("retina") screens this renders only to a quarter of the screen. // A workaround is to always scale the surface, but that incurs an additonal copy. // https://github.com/OpenRCT2/OpenRCT2/issues/21772 -#if defined(__APPLE__) +#if !defined(__APPLE__) // Copy the surface to the window if (gConfigGeneral.WindowScale == 1 || gConfigGeneral.WindowScale <= 0) {