protocols/cm: fix CColorManagementSurface m_imageDescription init (#12734)
This commit is contained in:
parent
610c59dc34
commit
5faa66d297
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue