Fix a warning treated as error - 'importDevice not used'
Change-Id: Id48ff52d6532cf3585648addd498cdddccbcb994 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
e1c9276c77
commit
33fdd5c833
@ -3829,6 +3829,7 @@ QRhi *QRhi::create(Implementation impl, QRhiInitParams *params, Flags flags, QRh
|
||||
static_cast<QRhiVulkanNativeHandles *>(importDevice));
|
||||
break;
|
||||
#else
|
||||
Q_UNUSED(importDevice);
|
||||
qWarning("This build of Qt has no Vulkan support");
|
||||
break;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user