diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-09-06 13:19:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-08 17:42:36 +0200 |
commit | 6214493cd4416439bc52b2dfe00e3b8aa9f5757c (patch) | |
tree | 239b68dcd2d0879aef4bdaa36b4dc0e2674d50cd /src/quick/scenegraph | |
parent | 284bce14ba9a1fed14431a9f40819c84e059923d (diff) |
Fix build on iOS: define GL_DOUBLE
This patch will fix the build error:
qsgbatchrenderer.cpp:1844: error: use of undeclared identifier
GL_DOUBLE
Change-Id: I7981e303e4743bb610822633c7da433238de4683
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp index 8d4b4dd9f6..7291af9c46 100644 --- a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp +++ b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp @@ -46,6 +46,10 @@ #include <QtGui/QGuiApplication> #include <QtGui/QOpenGLFramebufferObject> +#ifndef GL_DOUBLE + #define GL_DOUBLE 0x140A +#endif + QT_BEGIN_NAMESPACE extern QByteArray qsgShaderRewriter_insertZAttributes(const char *input); |