mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
renderer/ShaderProgram: Fix compiler warning
This commit is contained in:
parent
652e31f442
commit
7fef91e709
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user