From 5ba33f846129f3e6c0505b19f94634b24505e828 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Apr 2026 15:16:36 +0100 Subject: 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. --- src/helpers/TransferFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers/TransferFunction.cpp') 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("render:cm_sdr_eotf"); + static auto PSDREOTF = CConfigValue("render:cm_sdr_eotf"); static auto sdrEOTF = NTransferFunction::fromString(*PSDREOTF); static auto P = Event::bus()->m_events.config.reloaded.listen([]() { sdrEOTF = NTransferFunction::fromString(*PSDREOTF); }); -- cgit v1.2.3