From 7f38973fd4326f93fb1384604787e6a8dd8ddbdb Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 15 Dec 2015 12:45:33 -0700 Subject: demos: Fix build warning on Linux for tri --- demos/tri.c | 4 ++-- include/vulkan/vk_lunarg_debug_report.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/tri.c b/demos/tri.c index 8ad5c750..3d21a035 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -109,13 +109,13 @@ struct texture_object { VkBool32 dbgFunc( VkFlags msgFlags, - VkDebugReportObjectTypeLUNARG objType, + VkDebugReportObjectTypeLUNARG objType, uint64_t srcObject, size_t location, int32_t msgCode, const char* pLayerPrefix, const char* pMsg, - void* pUserData) + const void* pUserData) { char *message = (char *) malloc(strlen(pMsg)+100); diff --git a/include/vulkan/vk_lunarg_debug_report.h b/include/vulkan/vk_lunarg_debug_report.h index 7dce07e9..37793d81 100644 --- a/include/vulkan/vk_lunarg_debug_report.h +++ b/include/vulkan/vk_lunarg_debug_report.h @@ -116,7 +116,7 @@ typedef enum _DEBUG_REPORT_ERROR typedef VkBool32 (*PFN_vkDbgMsgCallback)( VkFlags msgFlags, - VkDebugReportObjectTypeLUNARG objType, + VkDebugReportObjectTypeLUNARG objType, uint64_t srcObject, size_t location, int32_t msgCode, -- cgit v1.2.3