diff --git a/src/dawn_native/vulkan/SwapChainVk.cpp b/src/dawn_native/vulkan/SwapChainVk.cpp index c2f0bd2d13..0398f1e758 100644 --- a/src/dawn_native/vulkan/SwapChainVk.cpp +++ b/src/dawn_native/vulkan/SwapChainVk.cpp @@ -142,7 +142,7 @@ namespace dawn_native { namespace vulkan { VkSurfaceKHR vkSurface = VK_NULL_HANDLE; DAWN_TRY(CheckVkSuccess( fn.CreateXlibSurfaceKHR(instance, &createInfo, nullptr, &*vkSurface), - "CreateWin32Surface")); + "CreateXlibSurface")); return vkSurface; } break;