summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/raster_shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/raster_shader.hpp')
-rw-r--r--src/mbgl/shader/raster_shader.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mbgl/shader/raster_shader.hpp b/src/mbgl/shader/raster_shader.hpp
index b89b1351c6..e583b2337d 100644
--- a/src/mbgl/shader/raster_shader.hpp
+++ b/src/mbgl/shader/raster_shader.hpp
@@ -9,21 +9,21 @@ class RasterShader : public Shader {
public:
RasterShader(gl::Context&, Defines defines = None);
- void bind(GLbyte *offset) final;
+ void bind(int8_t* offset) final;
- UniformMatrix<4> u_matrix = {"u_matrix", *this};
- Uniform<GLint> u_image0 = {"u_image0", *this};
- Uniform<GLint> u_image1 = {"u_image1", *this};
- Uniform<GLfloat> u_opacity0 = {"u_opacity0", *this};
- Uniform<GLfloat> u_opacity1 = {"u_opacity1", *this};
- Uniform<GLfloat> u_buffer_scale = {"u_buffer_scale", *this};
- Uniform<GLfloat> u_brightness_low = {"u_brightness_low", *this};
- Uniform<GLfloat> u_brightness_high = {"u_brightness_high", *this};
- Uniform<GLfloat> u_saturation_factor = {"u_saturation_factor", *this};
- Uniform<GLfloat> u_contrast_factor = {"u_contrast_factor", *this};
- Uniform<std::array<GLfloat, 3>> u_spin_weights = {"u_spin_weights", *this};
- Uniform<std::array<GLfloat, 2>> u_tl_parent = {"u_tl_parent", *this};
- Uniform<GLfloat> u_scale_parent = {"u_scale_parent", *this};
+ UniformMatrix<4> u_matrix = {"u_matrix", *this};
+ Uniform<int32_t> u_image0 = {"u_image0", *this};
+ Uniform<int32_t> u_image1 = {"u_image1", *this};
+ Uniform<float> u_opacity0 = {"u_opacity0", *this};
+ Uniform<float> u_opacity1 = {"u_opacity1", *this};
+ Uniform<float> u_buffer_scale = {"u_buffer_scale", *this};
+ Uniform<float> u_brightness_low = {"u_brightness_low", *this};
+ Uniform<float> u_brightness_high = {"u_brightness_high", *this};
+ Uniform<float> u_saturation_factor = {"u_saturation_factor", *this};
+ Uniform<float> u_contrast_factor = {"u_contrast_factor", *this};
+ Uniform<std::array<float, 3>> u_spin_weights = {"u_spin_weights", *this};
+ Uniform<std::array<float, 2>> u_tl_parent = {"u_tl_parent", *this};
+ Uniform<float> u_scale_parent = {"u_scale_parent", *this};
};
} // namespace mbgl