summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/heatmap_texture_program.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/heatmap_texture_program.hpp')
-rw-r--r--src/mbgl/programs/heatmap_texture_program.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mbgl/programs/heatmap_texture_program.hpp b/src/mbgl/programs/heatmap_texture_program.hpp
index a1d3835821..954e03f9b6 100644
--- a/src/mbgl/programs/heatmap_texture_program.hpp
+++ b/src/mbgl/programs/heatmap_texture_program.hpp
@@ -4,15 +4,14 @@
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
#include <mbgl/programs/textures.hpp>
-#include <mbgl/shaders/heatmap_texture.hpp>
#include <mbgl/style/properties.hpp>
#include <mbgl/util/geometry.hpp>
namespace mbgl {
class HeatmapTextureProgram : public Program<
- shaders::heatmap_texture,
- gfx::Triangle,
+ HeatmapTextureProgram,
+ gfx::PrimitiveType::Triangle,
TypeList<attributes::a_pos>,
TypeList<
uniforms::u_matrix,
@@ -36,6 +35,6 @@ public:
};
using HeatmapTextureLayoutVertex = HeatmapTextureProgram::LayoutVertex;
-using HeatmapTextureAttributes = HeatmapTextureProgram::Attributes;
+using HeatmapTextureAttributes = HeatmapTextureProgram::AttributeList;
} // namespace mbgl