diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 22:05:09 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 22:05:09 +0200 |
| commit | 0f49e8fd2a364f91f0a4c3bc2210fac4d9bf2ecc (patch) | |
| tree | 8afb5564714fec75b19dbe3b7a42df2cfbee34c5 /src/platform/opengl/opengl_index_buffer.h | |
| parent | 85b63b3b61174a99811f3cba235da4537634edd4 (diff) | |
refactor: fold the OpenGL backend classes into rendering
Diffstat (limited to 'src/platform/opengl/opengl_index_buffer.h')
| -rw-r--r-- | src/platform/opengl/opengl_index_buffer.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/platform/opengl/opengl_index_buffer.h b/src/platform/opengl/opengl_index_buffer.h deleted file mode 100644 index 397da43..0000000 --- a/src/platform/opengl/opengl_index_buffer.h +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include "rendering/index_buffer.h" - -namespace Donut -{ - class OpenGLIndexBuffer - : public IndexBuffer - { - public: - OpenGLIndexBuffer(const uint32_t* indices, uint32_t count); - virtual ~OpenGLIndexBuffer(); - - virtual auto bind() const -> void override; - virtual auto unbind() const -> void override; - virtual auto get_count() const -> uint32_t override{ return m_count; } - - private: - uint32_t m_renderer_id; - uint32_t m_count; - }; -}; |
