diff options
Diffstat (limited to 'src/rendering/index_buffer.h')
| -rw-r--r-- | src/rendering/index_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rendering/index_buffer.h b/src/rendering/index_buffer.h index 856559a..9859c20 100644 --- a/src/rendering/index_buffer.h +++ b/src/rendering/index_buffer.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 get_count() const = 0; - static IndexBuffer* create(const uint32_t* indices, uint32_t count); + static Ref<IndexBuffer> create(const uint32_t* indices, uint32_t count); }; }; |
