diff --git a/src/renderer/shader-point.cpp b/src/renderer/shader-point.cpp index 250ac7d2f..cbd1d576b 100644 --- a/src/renderer/shader-point.cpp +++ b/src/renderer/shader-point.cpp @@ -34,7 +34,7 @@ PointShader::PointShader() void PointShader::bind(char *offset) { glEnableVertexAttribArray(a_pos); - glVertexAttribPointer(a_pos, 2, GL_SHORT, false, 8, offset); + glVertexAttribPointer(a_pos, 2, GL_SHORT, false, 0, offset); } void PointShader::setColor(const std::array& new_color) {