[core] remove special casing in code gen

This commit is contained in:
Konstantin Käfer
2019-02-28 11:24:49 +01:00
parent 4982933a78
commit 53628a455b

View File

@@ -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(', ');
}