浏览代码

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

Add SUPPORT_HIGH_DPI to CMakeOptions.txt
pull/832/head
Ray 6 年前
committed by GitHub
父节点
当前提交
4d00b5a8bb
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. +1
    -0
      src/CMakeOptions.txt
  2. +2
    -0
      src/config.h.in

+ 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_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_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_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 # rlgl.h
option(SUPPORT_VR_SIMULATOR "Support VR simulation functionality (stereo rendering)" ON) 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 #cmakedefine SUPPORT_SCREEN_CAPTURE 1
/* Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback() */ /* Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback() */
#cmakedefine SUPPORT_GIF_RECORDING 1 #cmakedefine SUPPORT_GIF_RECORDING 1
/* Support high DPI displays */
#cmakedefine SUPPORT_HIGH_DPI 1
// rlgl.h // rlgl.h
/* Support VR simulation functionality (stereo rendering) */ /* Support VR simulation functionality (stereo rendering) */

正在加载...
取消
保存