diff options
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; }; }; |
