From 5a055f6c39e0dbddd0ed852a47640fcc2627e69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Thu, 20 Nov 2025 06:55:39 +0100 Subject: [PATCH] fix(ebo): remove const from constructor param --- inc/EBO.hpp | 2 +- src/EBO.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);