protocols/cm: fix CColorManagementSurface m_imageDescription init (#12734)

This commit is contained in:
UjinT34
2025-12-27 20:25:57 +01:00
committed by GitHub
parent 610c59dc34
commit 5faa66d297
+2 -1
View File
@@ -233,7 +233,8 @@ CColorManagementSurface::CColorManagementSurface(SP<CWpColorManagementSurfaceV1>
if UNLIKELY (!good())
return;
m_client = m_resource->client();
m_client = m_resource->client();
m_imageDescription = DEFAULT_IMAGE_DESCRIPTION;
m_resource->setDestroy([this](CWpColorManagementSurfaceV1* r) {
LOGM(Log::TRACE, "Destroy wp cm surface {}", (uintptr_t)m_surface);