aboutsummaryrefslogtreecommitdiff
path: root/src/Rendering/IndexBuffer.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-14 18:21:00 +0200
committerhachem <im@hachem.wtf>2025-08-14 18:21:00 +0200
commitbc2d88c799cb3913a5defe4ea9ddea9c56814349 (patch)
treeea60d47c5924ba56f6d84de9d7baa38f1710f13a /src/Rendering/IndexBuffer.h
parent5265d5f8cacdb8af523e2b2fbfa45f0ef44b9995 (diff)
[help]: I am going to throw my computer out a window
Diffstat (limited to 'src/Rendering/IndexBuffer.h')
-rw-r--r--src/Rendering/IndexBuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Rendering/IndexBuffer.h b/src/Rendering/IndexBuffer.h
index a58cc6c..bb1b3a1 100644
--- a/src/Rendering/IndexBuffer.h
+++ b/src/Rendering/IndexBuffer.h
@@ -1,5 +1,6 @@
#pragma once
+#include "Core/Memory.h"
#include <cstdint>
namespace Donut
@@ -13,6 +14,6 @@ namespace Donut
virtual void Unbind() const = 0;
virtual uint32_t GetCount() const = 0;
- static IndexBuffer* Create(const uint32_t* indices, uint32_t count);
+ static Ref<IndexBuffer> Create(const uint32_t* indices, uint32_t count);
};
};