From 7fef91e70964fd1862b61f6be1b595e0ab66fe45 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Sat, 19 Oct 2024 20:28:54 +0200 Subject: [PATCH] renderer/ShaderProgram: Fix compiler warning --- renderer/ShaderProgram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,