diff --git a/src/backends/wayland/egl_wayland_backend.cpp b/src/backends/wayland/egl_wayland_backend.cpp index 600b6df6e7..f42f488559 100644 --- a/src/backends/wayland/egl_wayland_backend.cpp +++ b/src/backends/wayland/egl_wayland_backend.cpp @@ -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(); }