summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/icon_shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/icon_shader.hpp')
-rw-r--r--src/mbgl/shader/icon_shader.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mbgl/shader/icon_shader.hpp b/src/mbgl/shader/icon_shader.hpp
index 57941cf172..c4f24c91f7 100644
--- a/src/mbgl/shader/icon_shader.hpp
+++ b/src/mbgl/shader/icon_shader.hpp
@@ -9,16 +9,16 @@ class IconShader : public Shader {
public:
IconShader(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_zoom = {"u_zoom", *this};
- Uniform<GLfloat> u_opacity = {"u_opacity", *this};
- Uniform<std::array<GLfloat, 2>> u_texsize = {"u_texsize", *this};
- Uniform<GLint> u_rotate_with_map = {"u_rotate_with_map", *this};
- Uniform<GLint> u_texture = {"u_texture", *this};
- Uniform<GLint> u_fadetexture = {"u_fadetexture", *this};
+ UniformMatrix<4> u_matrix = {"u_matrix", *this};
+ Uniform<std::array<float, 2>> u_extrude_scale = {"u_extrude_scale", *this};
+ Uniform<float> u_zoom = {"u_zoom", *this};
+ Uniform<float> u_opacity = {"u_opacity", *this};
+ Uniform<std::array<float, 2>> u_texsize = {"u_texsize", *this};
+ Uniform<int32_t> u_rotate_with_map = {"u_rotate_with_map", *this};
+ Uniform<int32_t> u_texture = {"u_texture", *this};
+ Uniform<int32_t> u_fadetexture = {"u_fadetexture", *this};
};
} // namespace mbgl