diff --git a/inc/EBO.hpp b/inc/EBO.hpp index 7c3995f..44eec39 100755 --- a/inc/EBO.hpp +++ b/inc/EBO.hpp @@ -9,7 +9,7 @@ private: GLuint id; public: - EBO(const unsigned int* indices, size_t size); + EBO(unsigned int* indices, size_t size); ~EBO(); void bind(); diff --git a/src/EBO.cpp b/src/EBO.cpp index 2004419..4c7e167 100755 --- a/src/EBO.cpp +++ b/src/EBO.cpp @@ -1,6 +1,6 @@ #include "EBO.hpp" -EBO::EBO(const unsigned int* indices, size_t size) +EBO::EBO(unsigned int* indices, size_t size) { glGenBuffers(1, &id); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, id);