From 3d2d62813fc57ffc56cc4ee342e2e210b26664a8 Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Wed, 18 Dec 2019 00:39:26 +0000 Subject: [PATCH] Fix VkResult typo in MemoryServiceDmaBuf Bug: dawn:295 Change-Id: I24b0204fecb8503c98c30ba3741440253200fcc5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14662 Commit-Queue: Austin Eng Reviewed-by: Corentin Wallez Reviewed-by: Kai Ninomiya --- src/dawn_native/vulkan/external_memory/MemoryServiceDmaBuf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_native/vulkan/external_memory/MemoryServiceDmaBuf.cpp b/src/dawn_native/vulkan/external_memory/MemoryServiceDmaBuf.cpp index 440852d538..531d0688fc 100644 --- a/src/dawn_native/vulkan/external_memory/MemoryServiceDmaBuf.cpp +++ b/src/dawn_native/vulkan/external_memory/MemoryServiceDmaBuf.cpp @@ -142,7 +142,7 @@ namespace dawn_native { namespace vulkan { namespace external_memory { imageFormatProps.pNext = &externalImageFormatProps; VkResult result = - WkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2KHR( + VkResult::WrapUnsafe(mDevice->fn.GetPhysicalDeviceImageFormatProperties2KHR( physicalDevice, &imageFormatInfo, &imageFormatProps)); if (result != VK_SUCCESS) { return false;