hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_vertex_array.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 00:42:05 +0200
committerhachem <im@hachem.wtf>2025-08-14 00:42:05 +0200
commit0d8b874c0048ca088bb9e353a5f7c62e1f8cd0e8 (patch)
tree2c0f3b13161489e4e91994882f8f2ed67a20bc0e /src/platform/vulkan/vulkan_vertex_array.cpp
parent9671d5e54484b8bce261207d08ff15053ae24e48 (diff)
feat: custom memory managers and fix includes
Diffstat (limited to 'src/platform/vulkan/vulkan_vertex_array.cpp')
-rw-r--r--src/platform/vulkan/vulkan_vertex_array.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/vulkan/vulkan_vertex_array.cpp b/src/platform/vulkan/vulkan_vertex_array.cpp
index 31c2f74..8258696 100644
--- a/src/platform/vulkan/vulkan_vertex_array.cpp
+++ b/src/platform/vulkan/vulkan_vertex_array.cpp
@@ -18,12 +18,12 @@ namespace Donut
{
}
- void VulkanVertexArray::add_vertex_buffer(const std::shared_ptr<VertexBuffer>& vertex_buffer)
+ void VulkanVertexArray::add_vertex_buffer(const Ref<VertexBuffer>& vertex_buffer)
{
m_vertex_buffers.push_back(vertex_buffer);
}
- void VulkanVertexArray::set_index_buffer(const std::shared_ptr<IndexBuffer>& index_buffer)
+ void VulkanVertexArray::set_index_buffer(const Ref<IndexBuffer>& index_buffer)
{
m_index_buffer = index_buffer;
}