diff options
Diffstat (limited to 'loader/debug_report.c')
| -rw-r--r-- | loader/debug_report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c index ebb1ae29..4065fb03 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -74,7 +74,7 @@ VkResult util_CreateDebugReportCallback( { VkLayerDbgFunctionNode *pNewDbgFuncNode; if (pAllocator != NULL) { - pNewDbgFuncNode = (VkLayerDbgFunctionNode *) pAllocator->pfnAllocation(pAllocator->pUserData, sizeof(VkLayerDbgFunctionNode), sizeof(uint32_t), VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); + pNewDbgFuncNode = (VkLayerDbgFunctionNode *) pAllocator->pfnAllocation(pAllocator->pUserData, sizeof(VkLayerDbgFunctionNode), sizeof(int *), VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); } else { pNewDbgFuncNode = (VkLayerDbgFunctionNode *) loader_heap_alloc(inst, sizeof(VkLayerDbgFunctionNode), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); } |
