Skip to content

Commit 3c6e5d5

Browse files
committed
Vk debug_callback: use to compat for ver up to 303
Also eg. distro Vulkan in Ubuntu 22.04 seem to be affected. The change seem to be introduced with Vulkan headers version 304 (commit d4a196d8).
1 parent 16943b4 commit 3c6e5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video_display/vulkan/vulkan_context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ using namespace vulkan_display;
4444

4545
namespace {
4646

47-
#if VK_HEADER_VERSION > 169
47+
#if VK_HEADER_VERSION >= 304
4848
VKAPI_ATTR VkBool32 VKAPI_CALL debug_callback(
4949
[[maybe_unused]] vk::DebugUtilsMessageSeverityFlagBitsEXT message_severity,
5050
[[maybe_unused]] vk::DebugUtilsMessageTypeFlagsEXT message_type,

0 commit comments

Comments
 (0)