summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/wayland/qwaylandglcontext.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandglcontext.cpp b/src/plugins/platforms/wayland/qwaylandglcontext.cpp
index 4bf68c4..23631d9 100644
--- a/src/plugins/platforms/wayland/qwaylandglcontext.cpp
+++ b/src/plugins/platforms/wayland/qwaylandglcontext.cpp
@@ -51,11 +51,7 @@
#include <unistd.h>
#include <fcntl.h>
-extern "C" {
-#include <xf86drm.h>
-}
-
-Q_GLOBAL_STATIC(QMutex,qt_defaultSharedContextMutex);
+Q_GLOBAL_STATIC(QMutex,qt_defaultSharedContextMutex)
EGLint QWaylandGLContext::contextAttibutes[] = {
EGL_CONTEXT_CLIENT_VERSION, 2,