summaryrefslogtreecommitdiffstats
path: root/src/imports/shaders/scenegraph/qsggeometry.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-12 19:18:58 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-06-12 19:18:59 +0200
commit9e1c1737c2630d7f1b98c83455c66038cbddcd83 (patch)
treeb1807cf64a268f33f73f7aee5fee810a4df89c44 /src/imports/shaders/scenegraph/qsggeometry.cpp
parenta469bc673b20751eaaedd29c3efb9462ae148538 (diff)
parent05148b648d63eddca797fada19d131d8affdc456 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Diffstat (limited to 'src/imports/shaders/scenegraph/qsggeometry.cpp')
-rw-r--r--src/imports/shaders/scenegraph/qsggeometry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/shaders/scenegraph/qsggeometry.cpp b/src/imports/shaders/scenegraph/qsggeometry.cpp
index f5c497fb..41f599bc 100644
--- a/src/imports/shaders/scenegraph/qsggeometry.cpp
+++ b/src/imports/shaders/scenegraph/qsggeometry.cpp
@@ -94,6 +94,8 @@ QSGGeometry::QSGGeometry(const QSGGeometry::AttributeSet &attributes,
{
Q_ASSERT(m_attributes.count > 0);
Q_ASSERT(m_attributes.stride > 0);
+ Q_UNUSED(m_reserved_pointer);
+ Q_UNUSED(m_reserved_bits);
// Because allocate reads m_vertex_count, m_index_count and m_owns_data, these
// need to be set before calling allocate...