cocoa: Handle VulkanSurface for backingstores
Should be no different from MetalSurface and OpenGLSurface. Pick-to: 6.6 6.5 Change-Id: I529f2904a43e44376e9f2da2489fac57670d954d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
803e5f0ff7
commit
e310bc1646
@ -309,6 +309,7 @@ QPlatformBackingStore *QCocoaIntegration::createPlatformBackingStore(QWindow *wi
|
||||
return new QCALayerBackingStore(window);
|
||||
case QSurface::MetalSurface:
|
||||
case QSurface::OpenGLSurface:
|
||||
case QSurface::VulkanSurface:
|
||||
return new QRhiBackingStore(window);
|
||||
default:
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user