2
0
Эх сурвалжийг харах

Merge pull request #824 from kawa-yoiko/highdpi-cmakeopt

Add SUPPORT_HIGH_DPI to CMakeOptions.txt
Ray 6 жил өмнө
parent
commit
4d00b5a8bb

+ 1 - 0
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)

+ 2 - 0
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) */