summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/texture.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-15 23:32:45 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-20 15:40:47 +0100
commit0ad2375e1047353fc65fabce3ac9123dc095179e (patch)
treeadfcd395cb9f38a3eff6845bb63e3ab8bcf131a3 /src/mbgl/gfx/texture.hpp
parent9ee1de575af4ef332ad8812c11d9d63edc94d76e (diff)
downloadqtlocation-mapboxgl-0ad2375e1047353fc65fabce3ac9123dc095179e.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.hpp4
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_; \
} \
}