diff options
| author | Shiqing <shiqing-thu18@yandex.com> | 2019-05-03 12:17:58 +0800 |
|---|---|---|
| committer | Shiqing <shiqing-thu18@yandex.com> | 2019-05-03 12:24:20 +0800 |
| commit | 780cefc3b0a2f2115b235890db96028ff5e6fcf3 (patch) | |
| tree | 374d54b3abef29e5acf5d724d318f46e1fd9cf2d /src | |
| parent | 0b2bad4205d0322455ef4535342264dd675c1942 (diff) | |
| download | raylib-780cefc3b0a2f2115b235890db96028ff5e6fcf3.tar.gz raylib-780cefc3b0a2f2115b235890db96028ff5e6fcf3.zip | |
Add SUPPORT_HIGH_DPI to CMakeOptions.txt
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeOptions.txt | 1 | ||||
| -rw-r--r-- | src/config.h.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeOptions.txt b/src/CMakeOptions.txt index b69c443f..b5048b8a 100644 --- a/src/CMakeOptions.txt +++ b/src/CMakeOptions.txt @@ -31,6 +31,7 @@ option(SUPPORT_SCREEN_CAPTURE "Allow automatic screen capture of current screen option(SUPPORT_GIF_RECORDING "Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback()" ON) option(SUPPORT_GESTURES_SYSTEM "Gestures module is included (gestures.h) to support gestures detection: tap, hold, swipe, drag" ON) option(SUPPORT_MOUSE_GESTURES "Mouse gestures are directly mapped like touches and processed by gestures system" ON) +option(SUPPORT_HIGH_DPI "Support high DPI displays" OFF) # rlgl.h option(SUPPORT_VR_SIMULATOR "Support VR simulation functionality (stereo rendering)" ON) diff --git a/src/config.h.in b/src/config.h.in index b1c524f7..b07b7e94 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -15,6 +15,8 @@ #cmakedefine SUPPORT_SCREEN_CAPTURE 1 /* Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback() */ #cmakedefine SUPPORT_GIF_RECORDING 1 +/* Support high DPI displays */ +#cmakedefine SUPPORT_HIGH_DPI 1 // rlgl.h /* Support VR simulation functionality (stereo rendering) */ |
