summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
parent9ee1de575af4ef332ad8812c11d9d63edc94d76e (diff)
downloadqtlocation-mapboxgl-0ad2375e1047353fc65fabce3ac9123dc095179e.tar.gz
[core] remove a_/u_ prefix from attribute/uniform types
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-style-code.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js
index ae25a856a8..72f4857a96 100755
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -99,7 +99,7 @@ function attributeUniformType(property, type) {
[ property.name.replace(type + '-', '').replace(/-/g, '_') ];
return names.map(name => {
- return `attributes::a_${name}, uniforms::u_${name}`
+ return `attributes::${name}, uniforms::${name}`
}).join(', ');
}