renderer/ShaderProgram: Fix compiler warning

This commit is contained in:
Sebastian Holtermann 2024-10-19 20:28:54 +02:00
parent 652e31f442
commit 7fef91e709

View File

@ -67,7 +67,7 @@ struct VertexBuffer {
initialData, initialData,
bufferType); bufferType);
for (GLint i{}; i < attribs.size(); i++) { for (std::size_t i{}; i < attribs.size(); i++) {
dglEnableVertexAttribArray(i); dglEnableVertexAttribArray(i);
dglVertexAttribPointer(i, dglVertexAttribPointer(i,
attribs[i].size, attribs[i].size,