Commit d143f6e3 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik Committed by Merge Service
Browse files

backends/x11: Arm vsync monitor in EglX11Backend

This was originally on `EglX11Backend::endFrame` and got lost
as part of refactoring in 7358daa9

, breaking nested `kwin_wayland`
rendering with GL.

Signed-off-by: default avatarVictoria Fischer <victoria.fischer@mbition.io>
Tested-by: Merge Service <!2458>
Part-of: <!2458>
parent cad5ddba
Pipeline #180551 passed with stage
in 35 minutes and 20 seconds
......@@ -102,6 +102,8 @@ bool EglX11Backend::createSurfaces()
void EglX11Backend::present(Output *output)
{
static_cast<X11WindowedOutput *>(output)->vsyncMonitor()->arm();
const auto &renderOutput = m_outputs[output];
presentSurface(renderOutput->surface(), renderOutput->lastDamage(), output->geometry());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment