From add96e3ba8a9ba5aa60adfe6c9b4e654cf6de23e Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Tue, 14 Nov 2023 22:32:28 +0000 Subject: [PATCH] steamcompmgr: Fix pipewire color mgmt luts --- src/steamcompmgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index d03b694..b1c2647 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -2799,16 +2799,16 @@ paint_all(bool async) { for ( uint32_t nInputEOTF = 0; nInputEOTF < EOTF_Count; nInputEOTF++ ) { - frameInfo.lut3D[nInputEOTF] = g_ScreenshotColorMgmtLuts[nInputEOTF].vk_lut3d; - frameInfo.shaperLut[nInputEOTF] = g_ScreenshotColorMgmtLuts[nInputEOTF].vk_lut1d; + compositeFrameInfo.lut3D[nInputEOTF] = g_ScreenshotColorMgmtLuts[nInputEOTF].vk_lut3d; + compositeFrameInfo.shaperLut[nInputEOTF] = g_ScreenshotColorMgmtLuts[nInputEOTF].vk_lut1d; } vulkan_composite( &compositeFrameInfo, pPipewireTexture, !bNeedsFullComposite, bDefer, nullptr, false ); for ( uint32_t nInputEOTF = 0; nInputEOTF < EOTF_Count; nInputEOTF++ ) { if (g_ColorMgmtLuts[nInputEOTF].HasLuts()) { - frameInfo.shaperLut[nInputEOTF] = g_ColorMgmtLuts[nInputEOTF].vk_lut1d; - frameInfo.lut3D[nInputEOTF] = g_ColorMgmtLuts[nInputEOTF].vk_lut3d; + compositeFrameInfo.shaperLut[nInputEOTF] = g_ColorMgmtLuts[nInputEOTF].vk_lut1d; + compositeFrameInfo.lut3D[nInputEOTF] = g_ColorMgmtLuts[nInputEOTF].vk_lut3d; } } }