Commit dd9b4aa3 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/x11: Remove AbstractEglBackend::setSurface() call

KWin requires surfacesless contexts, so this setSurface() is not needed.
This ensures that makeCurrent() won't make the opengl context current
against a surface that belongs to a removed output.
parent 42285bc6
Pipeline #206872 passed with stage
in 13 minutes and 36 seconds
......@@ -103,7 +103,6 @@ bool X11WindowedEglBackend::createSurfaces()
if (m_outputs.isEmpty()) {
return false;
}
setSurface(m_outputs.first()->surface());
return true;
}
......
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