summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-06-23 15:33:09 +0300
committerGitHub <noreply@github.com>2025-06-23 14:33:09 +0200
commitcf7e3aa448f8c9e0d9e8f407e6ed730da55acc69 (patch)
treeef6629f968deb7adba3ac0793d181c9681961f9f /src/config/ConfigDescriptions.hpp
parentc7c8ca475b295b42de128c818d4675f5c8b994b3 (diff)
renderer/cm: Add automatic hdr (#9785)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 5ff88ea0..1af5a3ca 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -1482,6 +1482,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
+ SConfigOptionDescription{
+ .value = "render:cm_auto_hdr",
+ .description = "Auto-switch to hdr mode when fullscreen app is in hdr, 0 - off, 1 - hdr, 2 - hdredid (cm_fs_passthrough can switch to hdr even when this setting is off)",
+ .type = CONFIG_OPTION_INT,
+ .data = SConfigOptionDescription::SRangeData{.value = 1, .min = 0, .max = 2},
+ },
/*
* cursor: