summaryrefslogtreecommitdiffstats
path: root/src/render/backend/trianglesextractor.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-03-02 23:14:11 -0800
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-03-03 16:01:34 +0000
commit7a208d76ed96bb506899becfe680df06f95451c7 (patch)
treee32ae9e0caa4a5a3e374219b94c0f464f0038823 /src/render/backend/trianglesextractor.cpp
parent35b0520dc2ccdd1cdfc46f9f1d8d24889e0a3a1d (diff)
Fix build in C++98 mode: enums aren't namespacesv5.6.0
trianglesextractor.cpp:73:28: error: ‘Qt3DRender::QAttribute::DataType’ is not a class or namespace Change-Id: Ic747cc2ab45e4dc6bb70ffff14384407a2997a70 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/render/backend/trianglesextractor.cpp')
-rw-r--r--src/render/backend/trianglesextractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/trianglesextractor.cpp b/src/render/backend/trianglesextractor.cpp
index 85eba29df..6d4643fd6 100644
--- a/src/render/backend/trianglesextractor.cpp
+++ b/src/render/backend/trianglesextractor.cpp
@@ -70,7 +70,7 @@ bool isTriangleBased(Qt3DRender::QGeometryRenderer::PrimitiveType type) Q_DECL_N
struct BufferInfo
{
BufferInfo()
- : type(QAttribute::DataType::Float)
+ : type(QAttribute::Float)
, dataSize(0)
, count(0)
, byteStride(0)