Fix indentation in shaderlocations.mustache

This commit is contained in:
Frederic Junod
2018-02-08 09:29:14 +01:00
parent e8c8c32cf3
commit 5f44d5e8e2

View File

@@ -16,7 +16,7 @@ import {DEBUG_WEBGL} from '../../../index.js';
* @type {WebGLUniformLocation}
*/
this.{{originalName}} = gl.getUniformLocation(
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/uniforms}}
{{#attributes}}
@@ -24,7 +24,7 @@ import {DEBUG_WEBGL} from '../../../index.js';
* @type {number}
*/
this.{{originalName}} = gl.getAttribLocation(
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
{{/attributes}}
};