Fix compiler warning on platforms without QRhiNativeHandles
Change-Id: I61254290853cadf3b1edf6e7b0f82bba9e8d2efe Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 019f35524dc5fe317cd5e02a4483f503caaafe7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
38f1cc128c
commit
180e41521c
@ -444,7 +444,7 @@ void tst_QRhi::nativeHandles()
|
|||||||
QVERIFY(result == QRhi::FrameOpSuccess);
|
QVERIFY(result == QRhi::FrameOpSuccess);
|
||||||
QVERIFY(cb);
|
QVERIFY(cb);
|
||||||
|
|
||||||
const QRhiNativeHandles *cbHandles = cb->nativeHandles();
|
Q_DECL_UNUSED const QRhiNativeHandles *cbHandles = cb->nativeHandles();
|
||||||
// no null check here, backends where not applicable will return null
|
// no null check here, backends where not applicable will return null
|
||||||
|
|
||||||
switch (impl) {
|
switch (impl) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user