summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-28 11:24:49 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-01 09:33:37 +0100
commit53628a455bba6448579cbb8e8cedf25de28a8b3f (patch)
tree61c1289ee446dcd3571ddab66ac9620c6428cdf7 /scripts
parent4982933a78229085ee7a404fded70ad0cf2abc25 (diff)
downloadqtlocation-mapboxgl-53628a455bba6448579cbb8e8cedf25de28a8b3f.tar.gz
[core] remove special casing in code gen
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 121d2d774a..c002718038 100755
--- a/scripts/generate-style-code.js
+++ b/scripts/generate-style-code.js
@@ -76,7 +76,7 @@ function attributeUniformType(property, type) {
[ property.name.replace(type + '-', '').replace(/-/g, '_') ];
return names.map(name => {
- return `attributes::a_${name}${name === 'offset' ? '<1>' : ''}, uniforms::u_${name}`
+ return `attributes::a_${name}, uniforms::u_${name}`
}).join(', ');
}