diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-27 13:59:49 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | cd06b550dd95d6690daf0a34cd9733ae581ed5b9 (patch) | |
tree | 437a6ebb3d158a4ad00b813e95b66fafb749915f /src/mbgl/programs/fill_extrusion_program.hpp | |
parent | 55c7b86053816e74c3fd3c0595c1fa053970f959 (diff) | |
download | qtlocation-mapboxgl-cd06b550dd95d6690daf0a34cd9733ae581ed5b9.tar.gz |
[core] disallow subtyping of gl::Attributes<> and use type aliases instead
Diffstat (limited to 'src/mbgl/programs/fill_extrusion_program.hpp')
-rw-r--r-- | src/mbgl/programs/fill_extrusion_program.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/programs/fill_extrusion_program.hpp b/src/mbgl/programs/fill_extrusion_program.hpp index d8f07aec4c..d29f988e7e 100644 --- a/src/mbgl/programs/fill_extrusion_program.hpp +++ b/src/mbgl/programs/fill_extrusion_program.hpp @@ -29,10 +29,9 @@ MBGL_DEFINE_UNIFORM_SCALAR(float, u_lightintensity); MBGL_DEFINE_UNIFORM_SCALAR(float, u_height_factor); } // namespace uniforms -struct FillExtrusionLayoutAttributes : gl::Attributes< +using FillExtrusionLayoutAttributes = gl::Attributes< attributes::a_pos, - attributes::a_normal_ed> -{}; + attributes::a_normal_ed>; using FillExtrusionUniforms = TypeList< uniforms::u_matrix, |