summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2015-08-30 20:01:04 +0200
committerSean Harmer <sean.harmer@kdab.com>2015-08-31 08:03:23 +0000
commit0bcb6600db2a74ee8c8b51207d3ba15e4973aa95 (patch)
tree3927f191f30f074ff806fcbade80d156034f9d38
parent7b2315c6fd149b49be9553bafa7a3ff6d3b3ac3f (diff)
Fix build on OS X 10.8v5.5.1
This patch adds an ifdef for GL_PATCH_VERTICES so the module can be built on OS X 10.8 Change-Id: I057ed95a89f192dbd9796f0c190a23356d0f5491 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r--src/render/backend/qgraphicshelpergl4.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/backend/qgraphicshelpergl4.cpp b/src/render/backend/qgraphicshelpergl4.cpp
index 4102bfa4c..fd57d9b37 100644
--- a/src/render/backend/qgraphicshelpergl4.cpp
+++ b/src/render/backend/qgraphicshelpergl4.cpp
@@ -43,6 +43,10 @@
#include <private/attachmentpack_p.h>
#include <private/qgraphicsutils_p.h>
+# ifndef QT_OPENGL_4
+# define GL_PATCH_VERTICES 36466
+# endif
+
QT_BEGIN_NAMESPACE
namespace Qt3D {