diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-06-26 15:08:47 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-07-01 14:20:49 +0200 |
commit | 08f9b552c3735e15f9bf58ab5908652b06e47e88 (patch) | |
tree | c36ba328ff34a49af32383dace76be6b4ccd2145 /examples/quick/scenegraph/shared/logorenderer.h | |
parent | 8adc7bad2281596461cbf9557d2ca071113e095d (diff) |
Avoid direct GL calls in Qt Quick examples and tests
Change-Id: I204a5513708aeff5cae00d06d4f0c27c20a13ace
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'examples/quick/scenegraph/shared/logorenderer.h')
-rw-r--r-- | examples/quick/scenegraph/shared/logorenderer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/shared/logorenderer.h b/examples/quick/scenegraph/shared/logorenderer.h index 48fbf87203..abc95439f7 100644 --- a/examples/quick/scenegraph/shared/logorenderer.h +++ b/examples/quick/scenegraph/shared/logorenderer.h @@ -44,12 +44,13 @@ #include <QtGui/qvector3d.h> #include <QtGui/qmatrix4x4.h> #include <QtGui/qopenglshaderprogram.h> +#include <QtGui/qopenglfunctions.h> #include <QTime> #include <QVector> -class LogoRenderer { - +class LogoRenderer : protected QOpenGLFunctions +{ public: LogoRenderer(); ~LogoRenderer(); |