From e6ac313a33113e8422f2d01827d9b63860fed4d7 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 27 Oct 2015 18:59:16 +0800 Subject: bug 14921 part 3: typos Nothing to do. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921 --- include/vulkan.h | 12 ++++++------ vulkan.py | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/vulkan.h b/include/vulkan.h index 3f772814..03fcb6f2 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -2227,10 +2227,10 @@ typedef VkResult (VKAPI *PFN_vkCreateRenderPass)(VkDevice device, const VkRender typedef void (VKAPI *PFN_vkDestroyRenderPass)(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator); typedef void (VKAPI *PFN_vkGetRenderAreaGranularity)(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity); typedef VkResult (VKAPI *PFN_vkCreateCommandPool)(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool); -typedef void (VKAPI *PFN_vkDestroyCommandPool)(VkDevice device, VkCommandPool CommandPool, const VkAllocationCallbacks* pAllocator); -typedef VkResult (VKAPI *PFN_vkResetCommandPool)(VkDevice device, VkCommandPool CommandPool, VkCommandPoolResetFlags flags); +typedef void (VKAPI *PFN_vkDestroyCommandPool)(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator); +typedef VkResult (VKAPI *PFN_vkResetCommandPool)(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags); typedef VkResult (VKAPI *PFN_vkAllocateCommandBuffers)(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers); -typedef void (VKAPI *PFN_vkFreeCommandBuffers)(VkDevice device, VkCommandPool CommandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers); +typedef void (VKAPI *PFN_vkFreeCommandBuffers)(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers); typedef VkResult (VKAPI *PFN_vkBeginCommandBuffer)(VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo); typedef VkResult (VKAPI *PFN_vkEndCommandBuffer)(VkCommandBuffer commandBuffer); typedef VkResult (VKAPI *PFN_vkResetCommandBuffer)(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags); @@ -2763,12 +2763,12 @@ VkResult VKAPI vkCreateCommandPool( void VKAPI vkDestroyCommandPool( VkDevice device, - VkCommandPool CommandPool, + VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator); VkResult VKAPI vkResetCommandPool( VkDevice device, - VkCommandPool CommandPool, + VkCommandPool commandPool, VkCommandPoolResetFlags flags); VkResult VKAPI vkAllocateCommandBuffers( @@ -2778,7 +2778,7 @@ VkResult VKAPI vkAllocateCommandBuffers( void VKAPI vkFreeCommandBuffers( VkDevice device, - VkCommandPool CommandPool, + VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers); diff --git a/vulkan.py b/vulkan.py index 73134d05..93367137 100755 --- a/vulkan.py +++ b/vulkan.py @@ -694,12 +694,12 @@ core = Extension( Proto("void", "DestroyCommandPool", [Param("VkDevice", "device"), - Param("VkCommandPool", "CommandPool"), + Param("VkCommandPool", "commandPool"), Param("const VkAllocationCallbacks*", "pAllocator")]), Proto("VkResult", "ResetCommandPool", [Param("VkDevice", "device"), - Param("VkCommandPool", "CommandPool"), + Param("VkCommandPool", "commandPool"), Param("VkCommandPoolResetFlags", "flags")]), Proto("VkResult", "AllocateCommandBuffers", @@ -709,7 +709,7 @@ core = Extension( Proto("void", "FreeCommandBuffers", [Param("VkDevice", "device"), - Param("VkCommandPool", "CommandPool"), + Param("VkCommandPool", "commandPool"), Param("uint32_t", "commandBufferCount"), Param("const VkCommandBuffer*", "pCommandBuffers")]), -- cgit v1.2.3