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, 1 insertions, 2 deletions
diff --git a/src/Rendering/IndexBuffer.h b/src/Rendering/IndexBuffer.h
index bb1b3a1..a58cc6c 100644
--- a/src/Rendering/IndexBuffer.h
+++ b/src/Rendering/IndexBuffer.h
@@ -1,6 +1,5 @@
#pragma once
-#include "Core/Memory.h"
#include <cstdint>
namespace Donut
@@ -14,6 +13,6 @@ namespace Donut
virtual void Unbind() const = 0;
virtual uint32_t GetCount() const = 0;
- static Ref<IndexBuffer> Create(const uint32_t* indices, uint32_t count);
+ static IndexBuffer* Create(const uint32_t* indices, uint32_t count);
};
};