summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/line_shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/line_shader.cpp')
-rw-r--r--src/mbgl/shader/line_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/shader/line_shader.cpp b/src/mbgl/shader/line_shader.cpp
index 73bb1e2f40..684390815c 100644
--- a/src/mbgl/shader/line_shader.cpp
+++ b/src/mbgl/shader/line_shader.cpp
@@ -12,7 +12,7 @@ LineShader::LineShader(gl::Context& context, Defines defines)
context, defines) {
}
-void LineShader::bind(GLbyte* offset) {
+void LineShader::bind(int8_t* offset) {
MBGL_CHECK_ERROR(glEnableVertexAttribArray(a_pos));
MBGL_CHECK_ERROR(glVertexAttribPointer(a_pos, 2, GL_SHORT, false, 8, offset + 0));