aboutsummaryrefslogtreecommitdiff
path: root/src/Rendering/IndexBuffer.h
diff options
context:
space:
mode:
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);
};
};