mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix mac-specific highdpi issue workaround (#21785)
This commit is contained in:
committed by
GitHub
parent
0872327fe5
commit
a6e1124175
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user