Remove GCC warnings

This commit is contained in:
Alexander Bock
2017-11-13 16:22:07 -05:00
parent 3f6e5e6ace
commit 3a7f221793
72 changed files with 140 additions and 139 deletions

View File

@@ -107,7 +107,14 @@ void DebugRenderer::renderVertices(const Vertices& clippingSpacePoints, GLenum m
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, sizeof(clippingSpacePoints[0]), 0);
glVertexAttribPointer(
0,
4,
GL_FLOAT,
GL_FALSE,
sizeof(clippingSpacePoints[0]),
nullptr
);
// Draw the vertices
glDrawArrays(mode, 0, static_cast<GLsizei>(clippingSpacePoints.size()));