summaryrefslogtreecommitdiff
path: root/src/helpers/cm/ICC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/cm/ICC.cpp')
-rw-r--r--src/helpers/cm/ICC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/cm/ICC.cpp b/src/helpers/cm/ICC.cpp
index 34045543..00140c62 100644
--- a/src/helpers/cm/ICC.cpp
+++ b/src/helpers/cm/ICC.cpp
@@ -226,7 +226,7 @@ static std::expected<void, std::string> buildIcc3DLut(cmsHPROFILE profile, SImag
Log::logger->log(Log::DEBUG, "3D LUT constructed, size {}", image.icc.lutDataPacked.size());
// upload
- image.icc.lutTexture = makeShared<CTexture>(image.icc.lutDataPacked, image.icc.lutSize);
+ image.icc.lutTexture = g_pHyprRenderer->createTexture(image.icc.lutDataPacked, image.icc.lutSize);
return {};
}