Skip to content

Commit

Permalink
Updated debug callback signature to match requirements for vulkan fun…
Browse files Browse the repository at this point in the history
…ction declarations.
  • Loading branch information
kennyalive committed Jan 14, 2018
1 parent 971f1dc commit a01a151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/renderer/vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static void ensure_staging_buffer_allocation(VkDeviceSize size) {
vk_world.staging_buffer_ptr = (byte*)data;
}

static VkBool32 debug_callback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT object_type, uint64_t object, size_t location,
static VKAPI_ATTR VkBool32 VKAPI_CALL debug_callback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT object_type, uint64_t object, size_t location,
int32_t message_code, const char* layer_prefix, const char* message, void* user_data) {

#ifdef _WIN32
Expand Down

0 comments on commit a01a151

Please sign in to comment.