diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-09-17 15:30:21 +0200 |
| commit | f28e9c3e03a9f94764b3811f7c4aa01991943fc7 (patch) | |
| tree | 569850adf97494f5ce31dfe31a4c2703f378a144 /src/renderer/opengl/GlIndexBuffer.hpp | |
| parent | b46a0d9369fbaa1938f0968ab216bc2d564a9c37 (diff) | |
switch to software renderer
Diffstat (limited to 'src/renderer/opengl/GlIndexBuffer.hpp')
| -rw-r--r-- | src/renderer/opengl/GlIndexBuffer.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/renderer/opengl/GlIndexBuffer.hpp b/src/renderer/opengl/GlIndexBuffer.hpp deleted file mode 100644 index 7805460..0000000 --- a/src/renderer/opengl/GlIndexBuffer.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <renderer/Renderer.hpp> - -class GlIndexBuffer { -public: - GlIndexBuffer() = default; - void Init(); - void Reset(); - -public: - uint32_t GetCount(); - uint32_t *GetData(); - - void PushRectangle(); - void TransferData(); - -private: - uint32_t m_Id; - uint32_t m_CurrentIndex; - std::vector<uint32_t> m_Indices; -}; - |
