[light] Use bitmask instead of std::set for color modes (#11348)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-10-20 07:48:14 +13:00
1 parent a0922bc8b0
commit fdecda3d65
12 files changed
+308 -59

No files matched your search

@@ -43,7 +43,6 @@ void LightJSONSchema::dump_json(LightState &state, JsonObject root) {
}
auto values = state.remote_values;
auto traits = state.get_output()->get_traits();
const auto color_mode = values.get_color_mode();
const char *mode_str = get_color_mode_json_str(color_mode);