diff options
Diffstat (limited to 'src/mbgl/programs/line_program.hpp')
-rw-r--r-- | src/mbgl/programs/line_program.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/programs/line_program.hpp b/src/mbgl/programs/line_program.hpp index 54553e29e7..089c2b2c07 100644 --- a/src/mbgl/programs/line_program.hpp +++ b/src/mbgl/programs/line_program.hpp @@ -29,10 +29,9 @@ MBGL_DEFINE_UNIFORM_VECTOR(float, 2, u_patternscale_b); MBGL_DEFINE_UNIFORM_VECTOR(float, 2, u_gl_units_to_pixels); } // namespace uniforms -struct LineLayoutAttributes : gl::Attributes< +using LineLayoutAttributes = gl::Attributes< attributes::a_pos_normal, - attributes::a_data<uint8_t, 4>> -{}; + attributes::a_data<uint8_t, 4>>; class LineProgram : public Program< shaders::line, |