From f44888e466ad63eccec229bdcc091f8f7e2f629e Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 3 May 2019 09:45:16 +0200 Subject: [PATCH] Force HighDPI on macOS --- src/core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core.c b/src/core.c index 18fbb181a..a5e9bd9ad 100644 --- a/src/core.c +++ b/src/core.c @@ -130,6 +130,10 @@ #include "external/rgif.h" // Support GIF recording #endif +#if defined(__APPLE__) + #define SUPPORT_HIGH_DPI // Force HighDPI support on macOS +#endif + #include // Standard input / output lib #include // Required for: malloc(), free(), rand(), atexit() #include // Required for: typedef unsigned long long int uint64_t, used by hi-res timer