diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc index 4a88bb6b7c..8d5b242838 100644 --- a/ext/qt/gstqtglutility.cc +++ b/ext/qt/gstqtglutility.cc @@ -28,11 +28,6 @@ #if GST_GL_HAVE_WINDOW_X11 && defined (HAVE_QT_X11) #include #include -#if GST_GL_HAVE_PLATFORM_GLX -#include -#elif GST_GL_HAVE_PLATFORM_EGL -#include -#endif #endif #if GST_GL_HAVE_WINDOW_WAYLAND && GST_GL_HAVE_PLATFORM_EGL && defined (HAVE_QT_WAYLAND) @@ -48,7 +43,6 @@ #include #include #endif -#include #endif #define GST_CAT_DEFAULT qt_gl_utils_debug