bug 14016: Make vkResetFences take const pFences
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14016
diff --git a/layers/mem_tracker.cpp b/layers/mem_tracker.cpp
index 52b2e78..099a6b2 100644
--- a/layers/mem_tracker.cpp
+++ b/layers/mem_tracker.cpp
@@ -1291,7 +1291,7 @@
VK_LAYER_EXPORT VkResult VKAPI vkResetFences(
VkDevice device,
uint32_t fenceCount,
- VkFence *pFences)
+ const VkFence *pFences)
{
/*
* TODO: Shouldn't we check for error conditions before passing down the chain?
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 822cb42..0bed869 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -550,7 +550,7 @@
return result;
}
-VK_LAYER_EXPORT VkResult VKAPI vkResetFences(VkDevice device, uint32_t fenceCount, VkFence* pFences)
+VK_LAYER_EXPORT VkResult VKAPI vkResetFences(VkDevice device, uint32_t fenceCount, const VkFence* pFences)
{
VkResult result = device_dispatch_table(device)->ResetFences(device, fenceCount, pFences);