Fix module path in the shader templates

This commit is contained in:
Frederic Junod
2018-02-08 12:36:32 +01:00
parent 5f44d5e8e2
commit 106059329d
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
// This file is automatically generated, do not edit
// Run `make shaders` to generate, and commit the result.
import {DEBUG_WEBGL} from '../../../index.js';
import {DEBUG_WEBGL} from '../../../../index.js';
/**
* @constructor
@@ -9,7 +9,7 @@ import {DEBUG_WEBGL} from '../../../index.js';
* @param {WebGLProgram} program Program.
* @struct
*/
{{namespace}}_Locations_ = function(gl, program) {
const {{namespace}}Locations_ = function(gl, program) {
{{#uniforms}}
/**
@@ -28,4 +28,4 @@ import {DEBUG_WEBGL} from '../../../index.js';
{{/attributes}}
};
export default {{namespace}}_Locations_;
export default {{namespace}}Locations_;