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.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mbgl/shader/raster_shader.hpp b/src/mbgl/shader/raster_shader.hpp
index 977556a097..6d85175d77 100644
--- a/src/mbgl/shader/raster_shader.hpp
+++ b/src/mbgl/shader/raster_shader.hpp
@@ -1,23 +1,19 @@
#pragma once
#include <mbgl/gl/shader.hpp>
-#include <mbgl/gl/attribute.hpp>
#include <mbgl/shader/raster_uniforms.hpp>
+#include <mbgl/shader/raster_attributes.hpp>
namespace mbgl {
-class RasterVertex;
-
class RasterShader : public gl::Shader {
public:
RasterShader(gl::Context&, Defines defines = None);
- using VertexType = RasterVertex;
+ using AttributesType = RasterAttributes;
using UniformsType = RasterUniforms;
- gl::Attribute<int16_t, 2> a_pos = { "a_pos", *this };
- gl::Attribute<uint16_t, 2> a_texture_pos = { "a_texture_pos", *this };
-
+ typename RasterAttributes::State attributesState;
typename RasterUniforms::State uniformsState;
};