summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/line_shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/line_shader.hpp')
-rw-r--r--src/mbgl/shader/line_shader.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mbgl/shader/line_shader.hpp b/src/mbgl/shader/line_shader.hpp
index 1ad4b56b01..a6be32ebc3 100644
--- a/src/mbgl/shader/line_shader.hpp
+++ b/src/mbgl/shader/line_shader.hpp
@@ -10,19 +10,19 @@ class LineShader : public Shader {
public:
LineShader(gl::Context&, Defines defines = None);
- void bind(GLbyte *offset) final;
+ void bind(int8_t* offset) final;
- UniformMatrix<4> u_matrix = {"u_matrix", *this};
- Uniform<Color> u_color = {"u_color", *this};
- Uniform<GLfloat> u_opacity = {"u_opacity", *this};
- Uniform<GLfloat> u_ratio = {"u_ratio", *this};
- Uniform<GLfloat> u_linewidth = {"u_linewidth", *this};
- Uniform<GLfloat> u_gapwidth = {"u_gapwidth", *this};
- Uniform<GLfloat> u_antialiasing = {"u_antialiasing", *this};
- Uniform<GLfloat> u_blur = {"u_blur", *this};
- Uniform<GLfloat> u_extra = {"u_extra", *this};
- Uniform<GLfloat> u_offset = {"u_offset", *this};
- UniformMatrix<2> u_antialiasingmatrix = {"u_antialiasingmatrix", *this};
+ UniformMatrix<4> u_matrix = {"u_matrix", *this};
+ Uniform<Color> u_color = {"u_color", *this};
+ Uniform<float> u_opacity = {"u_opacity", *this};
+ Uniform<float> u_ratio = {"u_ratio", *this};
+ Uniform<float> u_linewidth = {"u_linewidth", *this};
+ Uniform<float> u_gapwidth = {"u_gapwidth", *this};
+ Uniform<float> u_antialiasing = {"u_antialiasing", *this};
+ Uniform<float> u_blur = {"u_blur", *this};
+ Uniform<float> u_extra = {"u_extra", *this};
+ Uniform<float> u_offset = {"u_offset", *this};
+ UniformMatrix<2> u_antialiasingmatrix = {"u_antialiasingmatrix", *this};
};