diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-26 15:16:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-26 15:16:36 +0100 |
| commit | 5ba33f846129f3e6c0505b19f94634b24505e828 (patch) | |
| tree | aaacabe678006040c342935481a86607c66607fd /src/helpers/TransferFunction.cpp | |
| parent | 329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff) | |
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/helpers/TransferFunction.cpp')
| -rw-r--r-- | src/helpers/TransferFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/TransferFunction.cpp b/src/helpers/TransferFunction.cpp index 074f4b19..fa6fbb06 100644 --- a/src/helpers/TransferFunction.cpp +++ b/src/helpers/TransferFunction.cpp @@ -30,7 +30,7 @@ eTF NTransferFunction::fromConfig(bool useICC) { if (useICC) return TF_SRGB; - static auto PSDREOTF = CConfigValue<Hyprlang::STRING>("render:cm_sdr_eotf"); + static auto PSDREOTF = CConfigValue<Config::STRING>("render:cm_sdr_eotf"); static auto sdrEOTF = NTransferFunction::fromString(*PSDREOTF); static auto P = Event::bus()->m_events.config.reloaded.listen([]() { sdrEOTF = NTransferFunction::fromString(*PSDREOTF); }); |
