backends/wayland: 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.
This commit is contained in:
parent
99913bab5d
commit
42285bc659
1 changed files with 0 additions and 2 deletions
|
@ -324,8 +324,6 @@ bool WaylandEglBackend::initRenderingContext()
|
|||
}
|
||||
|
||||
const auto &firstOutput = m_outputs.first();
|
||||
// set our first surface as the one for the abstract backend, just to make it happy
|
||||
setSurface(firstOutput->m_eglSurface);
|
||||
return firstOutput->makeContextCurrent();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue