Fix client build with vulkan 1.4.304
This commit is contained in:
+14
-8
@@ -157,14 +157,20 @@ class application : public singleton<application>
|
||||
void loop();
|
||||
|
||||
std::mutex debug_report_mutex;
|
||||
static VkBool32 vulkan_debug_report_callback(VkDebugReportFlagsEXT flags,
|
||||
VkDebugReportObjectTypeEXT objectType,
|
||||
uint64_t object,
|
||||
size_t location,
|
||||
int32_t messageCode,
|
||||
const char * pLayerPrefix,
|
||||
const char * pMessage,
|
||||
void * pUserData);
|
||||
static VkBool32 vulkan_debug_report_callback(
|
||||
#if VK_HEADER_VERSION >= 304
|
||||
vk::DebugReportFlagsEXT flags,
|
||||
vk::DebugReportObjectTypeEXT objectType,
|
||||
#else
|
||||
VkDebugReportFlagsEXT flags,
|
||||
VkDebugReportObjectTypeEXT objectType,
|
||||
#endif
|
||||
uint64_t object,
|
||||
size_t location,
|
||||
int32_t messageCode,
|
||||
const char * pLayerPrefix,
|
||||
const char * pMessage,
|
||||
void * pUserData);
|
||||
std::unordered_set<uint64_t> debug_report_ignored_objects;
|
||||
std::unordered_map<uint64_t, std::string> debug_report_object_name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user