diff options
| author | David Redondo <qt@david-redondo.de> | 2022-10-12 09:01:07 +0200 |
|---|---|---|
| committer | David Redondo <qt@david-redondo.de> | 2022-12-08 10:31:45 +0100 |
| commit | 9e23cbc94c9d738485b2138be8504ad64bc5a71a (patch) | |
| tree | 0dcf68a934228d367af38ce5d2367e6e50d6aa37 /src/plugins/platforms/wayland/qwaylandnativeinterface.cpp | |
| parent | d62c5761e8bf1b5744345de81c51a801d3a2cfc9 (diff) | |
client: Implement QNativeInterface::Private::QWaylandWindow
Task-number: QTBUG-94729
Change-Id: Ib79f3199a4518700aa032c5ca4760a2b53c401e5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandnativeinterface.cpp')
| -rw-r--r-- | src/plugins/platforms/wayland/qwaylandnativeinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandnativeinterface.cpp b/src/plugins/platforms/wayland/qwaylandnativeinterface.cpp index b76b1f08b82..ea3da8b4881 100644 --- a/src/plugins/platforms/wayland/qwaylandnativeinterface.cpp +++ b/src/plugins/platforms/wayland/qwaylandnativeinterface.cpp @@ -143,7 +143,7 @@ void *QWaylandNativeInterface::nativeResourceForWindow(const QByteArray &resourc if (lowerCaseResource == "vksurface") { if (window->surfaceType() == QSurface::VulkanSurface && window->handle()) { // return a pointer to the VkSurfaceKHR value, not the value itself - return static_cast<QWaylandVulkanWindow *>(window->handle())->surface(); + return static_cast<QWaylandVulkanWindow *>(window->handle())->vkSurface(); } } #endif |
