diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-02-28 11:24:49 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-01 09:33:37 +0100 |
commit | 53628a455bba6448579cbb8e8cedf25de28a8b3f (patch) | |
tree | 61c1289ee446dcd3571ddab66ac9620c6428cdf7 /scripts/generate-style-code.js | |
parent | 4982933a78229085ee7a404fded70ad0cf2abc25 (diff) | |
download | qtlocation-mapboxgl-53628a455bba6448579cbb8e8cedf25de28a8b3f.tar.gz |
[core] remove special casing in code gen
Diffstat (limited to 'scripts/generate-style-code.js')
-rwxr-xr-x | scripts/generate-style-code.js | 2 |
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(', '); } |