We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9003b4 commit c8ba8d1Copy full SHA for c8ba8d1
vulkan-cpp/index_buffer.cppm
@@ -2,7 +2,6 @@ module;
2
3
#include <vulkan/vulkan.h>
4
#include <span>
5
-#include <array>
6
7
export module vk:index_buffer;
8
@@ -25,7 +24,7 @@ export namespace vk {
25
24
.device_size = p_info.indices.size_bytes(),
26
.physical_memory_properties = p_info.phsyical_memory_properties,
27
.property_flags = static_cast<memory_property>(memory_property::host_visible_bit | memory_property::host_cached_bit),
28
- .usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT,
+ .usage = static_cast<VkBufferUsageFlags>(buffer_usage::index_buffer_bit),
29
.debug_name = p_info.debug_name.c_str(),
30
.vkSetDebugUtilsObjectNameEXT = p_info.vkSetDebugUtilsObjectNameEXT
31
};
0 commit comments