summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/circle_shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/circle_shader.hpp')
-rw-r--r--src/mbgl/shader/circle_shader.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mbgl/shader/circle_shader.hpp b/src/mbgl/shader/circle_shader.hpp
index dbe7ac811c..b87d856775 100644
--- a/src/mbgl/shader/circle_shader.hpp
+++ b/src/mbgl/shader/circle_shader.hpp
@@ -10,16 +10,16 @@ class CircleShader : public Shader {
public:
CircleShader(gl::Context&, Defines defines = None);
- void bind(GLbyte *offset) final;
+ void bind(int8_t* offset) final;
- UniformMatrix<4> u_matrix = {"u_matrix", *this};
- Uniform<std::array<GLfloat, 2>> u_extrude_scale = {"u_extrude_scale", *this};
- Uniform<GLfloat> u_devicepixelratio = {"u_devicepixelratio", *this};
- Uniform<Color> u_color = {"u_color", *this};
- Uniform<GLfloat> u_radius = {"u_radius", *this};
- Uniform<GLfloat> u_blur = {"u_blur", *this};
- Uniform<GLfloat> u_opacity = {"u_opacity", *this};
- Uniform<GLint> u_scale_with_map = {"u_scale_with_map", *this};
+ UniformMatrix<4> u_matrix = {"u_matrix", *this};
+ Uniform<std::array<float, 2>> u_extrude_scale = {"u_extrude_scale", *this};
+ Uniform<float> u_devicepixelratio = {"u_devicepixelratio", *this};
+ Uniform<Color> u_color = {"u_color", *this};
+ Uniform<float> u_radius = {"u_radius", *this};
+ Uniform<float> u_blur = {"u_blur", *this};
+ Uniform<float> u_opacity = {"u_opacity", *this};
+ Uniform<int32_t> u_scale_with_map = {"u_scale_with_map", *this};
};
} // namespace mbgl