diff --git a/renderer/ShaderProgram.h b/renderer/ShaderProgram.h index 90ce5acb..3bdb5229 100644 --- a/renderer/ShaderProgram.h +++ b/renderer/ShaderProgram.h @@ -67,7 +67,7 @@ struct VertexBuffer { initialData, bufferType); - for (GLint i{}; i < attribs.size(); i++) { + for (std::size_t i{}; i < attribs.size(); i++) { dglEnableVertexAttribArray(i); dglVertexAttribPointer(i, attribs[i].size,