diff options
| author | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
| commit | 23086a5d33acc66414f1169bf22abe78b3383f94 (patch) | |
| tree | a895c3e3ab8074118a84aada97ea990b60fba556 /src/platform/opengl/opengl_vertex_array.h | |
| parent | 2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (diff) | |
fix: more consistent formatting
Diffstat (limited to 'src/platform/opengl/opengl_vertex_array.h')
| -rw-r--r-- | src/platform/opengl/opengl_vertex_array.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/platform/opengl/opengl_vertex_array.h b/src/platform/opengl/opengl_vertex_array.h index e1a02f6..d6986db 100644 --- a/src/platform/opengl/opengl_vertex_array.h +++ b/src/platform/opengl/opengl_vertex_array.h @@ -1,14 +1,14 @@ #pragma once #include "rendering/vertex_array.h" +#include "rendering/vertex_buffer.h" +#include "rendering/index_buffer.h" + #include <vector> #include <memory> namespace Donut { - class VertexBuffer; - class IndexBuffer; - class OpenGLVertexArray : public VertexArray { @@ -35,6 +35,6 @@ namespace Donut uint32_t m_renderer_id; uint32_t m_vertex_buffer_index = 0; std::vector<std::shared_ptr<VertexBuffer>> m_vertex_buffers; - std::shared_ptr<IndexBuffer> m_index_buffer; + std::shared_ptr<IndexBuffer> m_index_buffer; }; }; |
