summaryrefslogtreecommitdiffstats
path: root/examples/wayland/qwindow-compositor/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/qwindow-compositor/window.cpp')
-rw-r--r--examples/wayland/qwindow-compositor/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/wayland/qwindow-compositor/window.cpp b/examples/wayland/qwindow-compositor/window.cpp
index b8b8e52e..9a8ffc2d 100644
--- a/examples/wayland/qwindow-compositor/window.cpp
+++ b/examples/wayland/qwindow-compositor/window.cpp
@@ -78,6 +78,7 @@ void Window::initializeGL()
m_backgroundTexture->setMinificationFilter(QOpenGLTexture::Nearest);
m_backgroundImageSize = backgroundImage.size();
m_textureBlitter.create();
+ m_compositor->create(); // the compositor's hardware integration may depend on GL
}
void Window::drawBackground()