From c6c7b63f6d56dfe0130f9c0b21edfb84680c376a Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Fri, 24 Oct 2025 18:36:00 +0200 Subject: [PATCH] ultim linter --- source/rendering/opengl/opengl_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rendering/opengl/opengl_shader.cpp b/source/rendering/opengl/opengl_shader.cpp index 90bcd33..5841b83 100644 --- a/source/rendering/opengl/opengl_shader.cpp +++ b/source/rendering/opengl/opengl_shader.cpp @@ -203,7 +203,7 @@ void OpenGLShader::createQuadGeometry() { checkGLError("glVertexAttribPointer(position)"); // Atributo 1: Coordenadas de textura (2 floats) - glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(float), reinterpret_cast(2 * sizeof(float))); + glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 4 * sizeof(float), static_cast(static_cast(nullptr) + 2 * sizeof(float))); glEnableVertexAttribArray(1); checkGLError("glVertexAttribPointer(texcoord)");