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:
Laszlo Agocs 2023-07-19 11:13:42 +02:00
parent 803e5f0ff7
commit e310bc1646

View File

@ -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;