forked from qt-creator/qt-creator
QmlProfiler: Fix compiler warnings on release build
Change-Id: Id6fde7279f80cdc7a74322bcee4e0ce41f7fc3bc Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ec046eaa59
commit
24e257f5ed
@@ -222,6 +222,7 @@ Point2DWithOffset *BindlingLoopsGeometry::vertexData()
|
||||
Q_ASSERT(attributes[1].position == 1);
|
||||
Q_ASSERT(attributes[1].tupleSize == 2);
|
||||
Q_ASSERT(attributes[1].type == GL_FLOAT);
|
||||
Q_UNUSED(attributes);
|
||||
return static_cast<Point2DWithOffset *>(geometry->vertexData());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user