summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(', ');
}