diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 18:21:00 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 18:21:00 +0200 |
| commit | 3d8d3259e1cf5a7d88e5d1e530cc8c9bf9140734 (patch) | |
| tree | 450b674caaf60327104aa76375c045f1f8f77076 /src/rendering/index_buffer.h | |
| parent | 79045760ce6100b4c87846d793f9dceeba4c9c36 (diff) | |
feat: I am going to throw my computer out a window
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); }; }; |
