qmlgl: Fix conflicting declaration of type GLsync for non-android

https://bugzilla.gnome.org/show_bug.cgi?id=796821
This commit is contained in:
Iñigo Huguet 2018-07-17 08:23:54 +02:00 committed by Matthew Waters
parent ceac1b51b1
commit b03df1abf8

View file

@ -29,7 +29,7 @@
#include <QtGui/qtgui-config.h> #include <QtGui/qtgui-config.h>
#endif #endif
#if defined(QT_OPENGL_ES_2) && GST_GL_HAVE_WINDOW_ANDROID #if defined(QT_OPENGL_ES_2)
#define GLsync gst_qt_GLsync #define GLsync gst_qt_GLsync
#include <QOpenGLContext> #include <QOpenGLContext>
#include <QOpenGLFunctions> #include <QOpenGLFunctions>