backends/drm: set the correct content transform for shadow buffer

BUG: 476931
This commit is contained in:
Xaver Hugl 2023-11-13 14:38:01 +01:00 committed by Vlad Zahorodnii
parent 7bf38e54bf
commit 93443a8228

View file

@ -126,6 +126,7 @@ std::optional<OutputLayerBeginFrameInfo> EglGbmLayerSurface::startRendering(cons
}
m_surface->shadowBuffer = std::make_unique<GLFramebuffer>(m_surface->shadowTexture.get());
}
m_surface->shadowTexture->setContentTransform(m_surface->currentSlot->framebuffer()->colorAttachment()->contentTransforms());
m_surface->renderStart = std::chrono::steady_clock::now();
m_surface->timeQuery->begin();
return OutputLayerBeginFrameInfo{