renderer/cm: Add automatic hdr (#9785)
This commit is contained in:
parent
c7c8ca475b
commit
cf7e3aa448
5 changed files with 94 additions and 68 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue