renderer: add quirks:prefer_hdr to fix HDR activation for some clients (#12436)
This commit is contained in:
parent
2cadc8abab
commit
3cf0280b11
5 changed files with 40 additions and 0 deletions
|
|
@ -1993,4 +1993,16 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{false},
|
||||
},
|
||||
|
||||
/*
|
||||
* Quirks
|
||||
*/
|
||||
|
||||
SConfigOptionDescription{
|
||||
.value = "quirks:prefer_hdr",
|
||||
.description = "Prefer HDR mode. 0 - off, 1 - always, 2 - gamescope only",
|
||||
.type = CONFIG_OPTION_INT,
|
||||
.data = SConfigOptionDescription::SRangeData{.value = 0, .min = 0, .max = 2},
|
||||
},
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue