aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/textureprovider/etcprovider.h
diff options
context:
space:
mode:
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 a9ec5ed606..e9761e3629 100644
--- a/examples/quick/textureprovider/etcprovider.h
+++ b/examples/quick/textureprovider/etcprovider.h
@@ -34,7 +34,7 @@
#ifndef ETCPROVIDER_H
#define ETCPROVIDER_H
-#include <qopengl.h>
+#include <QOpenGLFunctions>
#include <QQuickImageProvider>
#include <QtQuick/QSGTexture>
#include <QUrl>
@@ -54,7 +54,7 @@ private:
QUrl m_baseUrl;
};
-class EtcTexture : public QSGTexture
+class EtcTexture : public QSGTexture, protected QOpenGLFunctions
{
Q_OBJECT
public: