summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/picking/tst_picking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/picking/tst_picking.cpp')
-rw-r--r--tests/auto/render/picking/tst_picking.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/render/picking/tst_picking.cpp b/tests/auto/render/picking/tst_picking.cpp
index d9800c24f..acc9664bf 100644
--- a/tests/auto/render/picking/tst_picking.cpp
+++ b/tests/auto/render/picking/tst_picking.cpp
@@ -38,7 +38,6 @@
#include <Qt3DExtras/qspheremesh.h>
#include <Qt3DRender/qattribute.h>
#include <Qt3DRender/qbuffer.h>
-#include <Qt3DRender/qbufferdatagenerator.h>
#include <Qt3DExtras/qspheregeometry.h>
#include <Qt3DRender/qpickevent.h>
@@ -75,13 +74,6 @@ public:
QAttribute *positionAttr = static_cast<QAttribute *>(g->attributes().first());
Qt3DRender::QBuffer *vertexBuffer = static_cast<Qt3DRender::QBuffer *>(positionAttr->buffer());
- // Load the geometry
- QT_WARNING_PUSH
- QT_WARNING_DISABLE_DEPRECATED
- const QByteArray data = (*vertexBuffer->dataGenerator())();
- vertexBuffer->setData(data);
- QT_WARNING_POP
-
transform->setTranslation(position);
addComponent(picker);