summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/outline_shader.cpp
blob: 3f7642b2c922514e02d6c28d63b45e48830230ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <mbgl/shader/outline_shader.hpp>
#include <mbgl/shader/outline.vertex.hpp>
#include <mbgl/shader/outline.fragment.hpp>
#include <mbgl/shader/plain_vertex.hpp>

namespace mbgl {

OutlineShader::OutlineShader(gl::Context& context, Defines defines)
    : Shader(shaders::outline::name,
             shaders::outline::vertex,
             shaders::outline::fragment,
             context, defines) {
}

void OutlineShader::bind(const gl::VertexBuffer<PlainVertex>&,
                       const int8_t* offset) {
    PlainVertex::bind(offset);
}

} // namespace mbgl