diff --git a/scene_opengl_egl.cpp b/scene_opengl_egl.cpp index 39e2bf7469..876948ed56 100644 --- a/scene_opengl_egl.cpp +++ b/scene_opengl_egl.cpp @@ -99,6 +99,8 @@ bool SceneOpenGL::initRenderingContext() if (!wspace->createOverlay()) { kError(1212) << "Could not get overlay window"; return false; + } else { + wspace->setupOverlay(None); } surface = eglCreateWindowSurface(dpy, config, wspace->overlayWindow(), 0);