summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/symbol_icon_shader.cpp
blob: c6677eb38e086ebd8f3e0c7e74606a93595396c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <mbgl/shader/symbol_icon_shader.hpp>
#include <mbgl/shader/symbol_icon.vertex.hpp>
#include <mbgl/shader/symbol_icon.fragment.hpp>

namespace mbgl {

SymbolIconShader::SymbolIconShader(gl::Context& context, Defines defines)
    : Shader(shaders::symbol_icon::name,
             shaders::symbol_icon::vertex,
             shaders::symbol_icon::fragment,
             context, defines),
      attributesState(SymbolAttributes::state(*this)),
      uniformsState(SymbolIconUniforms::state(*this)) {
}

} // namespace mbgl