hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/index_buffer.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-15 03:18:29 +0200
committerhachem <im@hachem.wtf>2025-08-15 03:18:29 +0200
commita6655eebe2a69ee427264bd43df5747851ed96df (patch)
treefa8c6ef862898a3d8e19250698dca0d9aaf4f9c2 /src/rendering/index_buffer.h
parent3d8d3259e1cf5a7d88e5d1e530cc8c9bf9140734 (diff)
feat: complete first geodesic 3D raytracing
Diffstat (limited to 'src/rendering/index_buffer.h')
-rw-r--r--src/rendering/index_buffer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rendering/index_buffer.h b/src/rendering/index_buffer.h
index 9859c20..856559a 100644
--- a/src/rendering/index_buffer.h
+++ b/src/rendering/index_buffer.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 get_count() const = 0;
- static Ref<IndexBuffer> create(const uint32_t* indices, uint32_t count);
+ static IndexBuffer* create(const uint32_t* indices, uint32_t count);
};
};