fix(ebo): remove const from constructor param

This commit is contained in:
2025-11-20 06:55:39 +01:00
parent 0a7b5c9254
commit 5a055f6c39
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ private:
GLuint id; GLuint id;
public: public:
EBO(const unsigned int* indices, size_t size); EBO(unsigned int* indices, size_t size);
~EBO(); ~EBO();
void bind(); void bind();

View File

@@ -1,6 +1,6 @@
#include "EBO.hpp" #include "EBO.hpp"
EBO::EBO(const unsigned int* indices, size_t size) EBO::EBO(unsigned int* indices, size_t size)
{ {
glGenBuffers(1, &id); glGenBuffers(1, &id);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, id); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, id);