aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-05-03 09:45:16 +0200
committerRay <raysan5@gmail.com>2019-05-03 09:45:16 +0200
commitf44888e466ad63eccec229bdcc091f8f7e2f629e (patch)
treeb311fa4232fd9df0e1b6227778e013152efb5feb /src
parent4d00b5a8bb2d6de2d0a68d1e3b5167ee8c1fdf52 (diff)
downloadraylib-f44888e466ad63eccec229bdcc091f8f7e2f629e.tar.gz
raylib-f44888e466ad63eccec229bdcc091f8f7e2f629e.zip
Force HighDPI on macOS
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 18fbb181..a5e9bd9a 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 <stdio.h> // Standard input / output lib
#include <stdlib.h> // Required for: malloc(), free(), rand(), atexit()
#include <stdint.h> // Required for: typedef unsigned long long int uint64_t, used by hi-res timer