aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-05-03 09:42:48 +0200
committerGitHub <noreply@github.com>2019-05-03 09:42:48 +0200
commit4d00b5a8bb2d6de2d0a68d1e3b5167ee8c1fdf52 (patch)
tree374d54b3abef29e5acf5d724d318f46e1fd9cf2d /src
parent0b2bad4205d0322455ef4535342264dd675c1942 (diff)
parent780cefc3b0a2f2115b235890db96028ff5e6fcf3 (diff)
downloadraylib-4d00b5a8bb2d6de2d0a68d1e3b5167ee8c1fdf52.tar.gz
raylib-4d00b5a8bb2d6de2d0a68d1e3b5167ee8c1fdf52.zip
Merge pull request #824 from kawa-yoiko/highdpi-cmakeopt
Add SUPPORT_HIGH_DPI to CMakeOptions.txt
Diffstat (limited to 'src')
-rw-r--r--src/CMakeOptions.txt1
-rw-r--r--src/config.h.in2
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) */