Fix compiler warning on platforms without QRhiNativeHandles
Pick-to: 6.1 Change-Id: I61254290853cadf3b1edf6e7b0f82bba9e8d2efe Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
e90dda7314
commit
019f35524d
|
|
@ -447,7 +447,7 @@ void tst_QRhi::nativeHandles()
|
|||
QVERIFY(result == QRhi::FrameOpSuccess);
|
||||
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
|
||||
|
||||
switch (impl) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue