Просмотр исходного кода

Force HighDPI on macOS

pull/832/head
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 #include "external/rgif.h" // Support GIF recording
#endif #endif
#if defined(__APPLE__)
#define SUPPORT_HIGH_DPI // Force HighDPI support on macOS
#endif
#include <stdio.h> // Standard input / output lib #include <stdio.h> // Standard input / output lib
#include <stdlib.h> // Required for: malloc(), free(), rand(), atexit() #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 #include <stdint.h> // Required for: typedef unsigned long long int uint64_t, used by hi-res timer

Загрузка…
Отмена
Сохранить