diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-20 16:40:38 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 17:31:14 -0600 |
| commit | bd5c174bb264d5581719d8666b0646dbc83315ae (patch) | |
| tree | 8b85347616573ab4899024725a03859cdaa6bb63 /layers/basic.cpp | |
| parent | af7f549a72cdf48ba7a438dce80f063819e0c093 (diff) | |
| download | usermoji-bd5c174bb264d5581719d8666b0646dbc83315ae.tar.xz | |
Bug 14621: Change vkGet* functions to not return VkResult
Diffstat (limited to 'layers/basic.cpp')
| -rw-r--r-- | layers/basic.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layers/basic.cpp b/layers/basic.cpp index b90c0755..778a3629 100644 --- a/layers/basic.cpp +++ b/layers/basic.cpp @@ -119,12 +119,11 @@ VK_LAYER_EXPORT void VKAPI basic_DestroyInstance(VkInstance instance) destroy_instance_dispatch_table(key); } -VK_LAYER_EXPORT VkResult VKAPI basic_GetPhysicalDeviceFormatProperties(VkPhysicalDevice gpu, VkFormat format, VkFormatProperties *pFormatInfo) +VK_LAYER_EXPORT void VKAPI basic_GetPhysicalDeviceFormatProperties(VkPhysicalDevice gpu, VkFormat format, VkFormatProperties *pFormatInfo) { printf("At start of wrapped vkGetPhysicalDeviceFormatProperties() call w/ gpu: %p\n", (void*)gpu); - VkResult result = instance_dispatch_table(gpu)->GetPhysicalDeviceFormatProperties(gpu, format, pFormatInfo); + instance_dispatch_table(gpu)->GetPhysicalDeviceFormatProperties(gpu, format, pFormatInfo); printf("Completed wrapped vkGetPhysicalDeviceFormatProperties() call w/ gpu: %p\n", (void*)gpu); - return result; } VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI vkGetDeviceProcAddr(VkDevice device, const char* pName) |
