aboutsummaryrefslogtreecommitdiff
path: root/src/Rendering/VertexBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Rendering/VertexBuffer.h')
-rw-r--r--src/Rendering/VertexBuffer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Rendering/VertexBuffer.h b/src/Rendering/VertexBuffer.h
index db85755..35b9a84 100644
--- a/src/Rendering/VertexBuffer.h
+++ b/src/Rendering/VertexBuffer.h
@@ -1,7 +1,5 @@
#pragma once
-#include "Core/Memory.h"
-
#include <cstdint>
#include <vector>
@@ -24,7 +22,7 @@ namespace Donut
~VertexBufferLayout() = default;
template<typename T>
- void Push(uint32_t count)
+ void Push(uint32_t count)
{
static_assert(false);
}
@@ -70,6 +68,6 @@ namespace Donut
virtual const VertexBufferLayout& GetLayout() const = 0;
virtual void SetLayout(const VertexBufferLayout& layout) = 0;
- static Ref<VertexBuffer> Create(const void* data, uint32_t size);
+ static VertexBuffer* Create(const void* data, uint32_t size);
};
};