aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/textureprovider/etcprovider.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-06-20 12:26:08 +0200
committerLiang Qi <liang.qi@qt.io>2016-06-20 12:26:08 +0200
commitcb6c208c77e2e3c8b6d5957fae73f0326eee4296 (patch)
treecd4a956eb3208358c28adbacf11c3694091ce549 /examples/quick/textureprovider/etcprovider.h
parent34956bc234bf1b2ebcf224a256297293ba4276aa (diff)
parent3cd46501b2a663c7cb20cae21b4ed051f2ce4ac7 (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: src/qml/jit/qv4targetplatform_p.h src/quick/accessible/qaccessiblequickitem_p.h Change-Id: Ic95075a5fad81ec997a61561bd65979dfa3b9d4d
Diffstat (limited to 'examples/quick/textureprovider/etcprovider.h')
-rw-r--r--examples/quick/textureprovider/etcprovider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/textureprovider/etcprovider.h b/examples/quick/textureprovider/etcprovider.h
index 75903963e4..44d5d6f53e 100644
--- a/examples/quick/textureprovider/etcprovider.h
+++ b/examples/quick/textureprovider/etcprovider.h
@@ -51,7 +51,7 @@
#ifndef ETCPROVIDER_H
#define ETCPROVIDER_H
-#include <qopengl.h>
+#include <QOpenGLFunctions>
#include <QQuickImageProvider>
#include <QtQuick/QSGTexture>
#include <QUrl>
@@ -71,7 +71,7 @@ private:
QUrl m_baseUrl;
};
-class EtcTexture : public QSGTexture
+class EtcTexture : public QSGTexture, protected QOpenGLFunctions
{
Q_OBJECT
public: