mirror of https://github.com/qt/qt3d.git
tst_pickboundingvolumejob: fix signed/unsigned mismatch
Amends fd7536a6e4
.
Pick-to: 6.5 6.4 6.2
Change-Id: Ib2aed78b798ea163125593319f65b123bcc4f895
Reviewed-by: Mike Krus <mike.krus@kdab.com>
This commit is contained in:
parent
dfcd9f8b5a
commit
90fb8a94b4
|
@ -2234,7 +2234,7 @@ private Q_SLOTS:
|
|||
std::vector<Qt3DRender::Render::PickingUtils::ViewportCameraAreaDetails> results = gatherer.gather(test->frameGraphRoot());
|
||||
|
||||
// THEN
|
||||
QCOMPARE(results.size(), 0);
|
||||
QCOMPARE(results.size(), 0U);
|
||||
|
||||
// WHEN
|
||||
Qt3DRender::Render::FrameGraphNode *backendFGNode = test->nodeManagers()->frameGraphManager()->lookupNode(noPicking->id());
|
||||
|
@ -2250,7 +2250,7 @@ private Q_SLOTS:
|
|||
results = gatherer.gather(test->frameGraphRoot());
|
||||
|
||||
// THEN
|
||||
QCOMPARE(results.size(), 1);
|
||||
QCOMPARE(results.size(), 1U);
|
||||
const auto &vca = results.front();
|
||||
QCOMPARE(vca.area, QSize(600, 600));
|
||||
QCOMPARE(vca.cameraId, camera->id());
|
||||
|
|
Loading…
Reference in New Issue