diff options
| author | vaxerski <vaxry@vaxry.net> | 2022-10-27 13:26:47 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2022-10-27 13:26:47 +0100 |
| commit | 7d6ccca69537b65ef4fe165fed92085ffe8cf990 (patch) | |
| tree | b756ef78b2b3f0d19c5ecc06ad931ecd6048ff6d /src/config/ConfigManager.cpp | |
| parent | 28c81fc71ec2593cdac6cbf945369b201c1e3e71 (diff) | |
add 10bit support to displays
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 664e07cd..bad134b1 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -532,6 +532,9 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string if (ARGS[argno] == "mirror") { newrule.mirrorOf = ARGS[argno + 1]; argno++; + } else if (ARGS[argno] == "bitdepth") { + newrule.enable10bit = ARGS[argno + 1] == "10"; + argno++; } else { Debug::log(ERR, "Config error: invalid monitor syntax"); parseError = "invalid syntax at \"" + ARGS[argno] + "\""; |
