diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index 02d22cb89..3b5e222b8 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -738,7 +738,7 @@ void PainterGL::swapInterval(int interval) { } #endif #ifdef USE_EGL - if (QGuiApplication::platformName().contains("egl")) { + if (QGuiApplication::platformName().contains("egl") || QGuiApplication::platformName() == "wayland") { EGLDisplay display = eglGetCurrentDisplay(); eglSwapInterval(display, interval); }