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.
This commit is contained in:
parent
42285bc659
commit
dd9b4aa37a
1 changed files with 0 additions and 1 deletions
|
@ -103,7 +103,6 @@ bool X11WindowedEglBackend::createSurfaces()
|
|||
if (m_outputs.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
setSurface(m_outputs.first()->surface());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue