From ffe1d2043a88bdef0c1d240b540870d9b91ba55b Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Sat, 13 Apr 2019 12:03:37 -0400 Subject: [PATCH] Complete Hidpi support --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index ba41c7730..2f48762b0 100644 --- a/src/core.c +++ b/src/core.c @@ -2877,7 +2877,7 @@ static bool InitGraphicsDevice(int width, int height) // Set viewport parameters static void SetupViewport(void) { -#if defined(__APPLE__) +#if defined(PLATFORM_DESKTOP) // Get framebuffer size of current window // NOTE: Required to handle HighDPI display correctly on OSX because framebuffer // is automatically reasized to adapt to new DPI.