diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-12 10:33:49 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-13 09:22:20 +0000 |
commit | 3d2b9ef7ecd86db032942cbd68d6b9c610a03d9b (patch) | |
tree | 7d4257b6d01edb7b71854e10983d85367a4914a0 /src | |
parent | 96a7afec18542396f8e9a0b0f75d219a08725b3f (diff) |
Fix up some QOpenGL includes
OpenGL-specific code here and there relied on qopenglfunctions.h pulled in
from some unrelated place. This was cleaned up in some previous commit so
add the necessary includes.
Change-Id: I9d9ff6c5faf9fc9d59d8e1cfd4fab05ebff4b4e0
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/items/qquickframebufferobject.cpp | 2 | ||||
-rw-r--r-- | src/quick/items/qquickopenglshadereffectnode.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/quick/items/qquickframebufferobject.cpp b/src/quick/items/qquickframebufferobject.cpp index 0356b72e1d..d8147a48a5 100644 --- a/src/quick/items/qquickframebufferobject.cpp +++ b/src/quick/items/qquickframebufferobject.cpp @@ -40,7 +40,7 @@ #include "qquickframebufferobject.h" #include <QtGui/QOpenGLFramebufferObject> - +#include <QtGui/QOpenGLFunctions> #include <private/qquickitem_p.h> #include <QSGSimpleTextureNode> diff --git a/src/quick/items/qquickopenglshadereffectnode.cpp b/src/quick/items/qquickopenglshadereffectnode.cpp index aa8943aad7..864c968505 100644 --- a/src/quick/items/qquickopenglshadereffectnode.cpp +++ b/src/quick/items/qquickopenglshadereffectnode.cpp @@ -45,6 +45,7 @@ #include <QtQuick/private/qsgshadersourcebuilder_p.h> #include <QtQuick/private/qsgtexture_p.h> #include <QtCore/qmutex.h> +#include <QtGui/qopenglfunctions.h> QT_BEGIN_NAMESPACE |