Ray 6 лет назад
Родитель
Сommit
f44888e466
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/core.c

+ 4 - 0
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