diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-15 23:32:45 +0100 |
---|---|---|
committer | Alf Watt <alf.watt@mapbox.com> | 2019-03-21 12:25:10 -0700 |
commit | 3b4291e38c95cf7e3b0900df23d709d4d9ce3b06 (patch) | |
tree | de366117c47694857eb363fb353107e5d934931c /src/mbgl/gfx/texture.hpp | |
parent | 25818d5e6f8852b1163a25a98b22271c856d426d (diff) | |
download | qtlocation-mapboxgl-3b4291e38c95cf7e3b0900df23d709d4d9ce3b06.tar.gz |
[core] remove a_/u_ prefix from attribute/uniform types
Diffstat (limited to 'src/mbgl/gfx/texture.hpp')
-rw-r--r-- | src/mbgl/gfx/texture.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/gfx/texture.hpp b/src/mbgl/gfx/texture.hpp index a957c4ebdf..05f98686a1 100644 --- a/src/mbgl/gfx/texture.hpp +++ b/src/mbgl/gfx/texture.hpp @@ -10,8 +10,8 @@ #define MBGL_DEFINE_TEXTURE(name_) \ struct name_ { \ using Value = ::mbgl::gfx::TextureBinding; \ - static constexpr auto name() { \ - return #name_; \ + static constexpr auto uniformName() { \ + return "u_" #name_; \ } \ } |