diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-12-15 12:45:33 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-15 12:46:52 -0700 |
| commit | 7f38973fd4326f93fb1384604787e6a8dd8ddbdb (patch) | |
| tree | e6517580a9445767552193753a280a894dd1058e | |
| parent | b22270bf6e3f035df4cb619905049366c32589bd (diff) | |
| download | usermoji-7f38973fd4326f93fb1384604787e6a8dd8ddbdb.tar.xz | |
demos: Fix build warning on Linux for tri
| -rw-r--r-- | demos/tri.c | 4 | ||||
| -rw-r--r-- | 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, |
