From 03d0309255eadef38d33cc48b6010164aeea773e Mon Sep 17 00:00:00 2001 From: Jiawei Shao Date: Tue, 22 Dec 2020 17:35:18 +0000 Subject: [PATCH] Vulkan: Fix a typo in SwapChainVk.cpp BUG=dawn:269 Change-Id: Iacda4d222a81a4ed9e4c623a73e59019cfd6a2c2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36180 Commit-Queue: Austin Eng Reviewed-by: Austin Eng --- src/dawn_native/vulkan/SwapChainVk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;