summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/hillshade_prepare_program.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/hillshade_prepare_program.hpp')
-rw-r--r--src/mbgl/programs/hillshade_prepare_program.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mbgl/programs/hillshade_prepare_program.hpp b/src/mbgl/programs/hillshade_prepare_program.hpp
index b58525bbfd..0243cc1879 100644
--- a/src/mbgl/programs/hillshade_prepare_program.hpp
+++ b/src/mbgl/programs/hillshade_prepare_program.hpp
@@ -4,7 +4,6 @@
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
#include <mbgl/programs/textures.hpp>
-#include <mbgl/shaders/hillshade_prepare.hpp>
#include <mbgl/util/geometry.hpp>
namespace mbgl {
@@ -15,8 +14,8 @@ MBGL_DEFINE_UNIFORM_SCALAR(float, u_maxzoom);
} // namespace uniforms
class HillshadePrepareProgram : public Program<
- shaders::hillshade_prepare,
- gfx::Triangle,
+ HillshadePrepareProgram,
+ gfx::PrimitiveType::Triangle,
TypeList<
attributes::a_pos,
attributes::a_texture_pos>,
@@ -46,6 +45,6 @@ public:
};
using HillshadePrepareLayoutVertex = HillshadePrepareProgram::LayoutVertex;
-using HillshadePrepareAttributes = HillshadePrepareProgram::Attributes;
+using HillshadePrepareAttributes = HillshadePrepareProgram::AttributeList;
} // namespace mbgl