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
+4 -4
View File
@@ -1,10 +1,10 @@
// This file is automatically generated, do not edit.
// Run `make shaders` to generate, and commit the result.
import {DEBUG_WEBGL} from '../../index.js';
import _ol_webgl_Fragment_ from '../../webgl/Fragment.js';
import _ol_webgl_Vertex_ from '../../webgl/Vertex.js';
var {{namespace}} = {};
import {DEBUG_WEBGL} from '../../../index.js';
import _ol_webgl_Fragment_ from '../../../webgl/Fragment.js';
import _ol_webgl_Vertex_ from '../../../webgl/Vertex.js';
const {{namespace}} = {};
{{namespace}}.fragment = new _ol_webgl_Fragment_(DEBUG_WEBGL ?
'precision mediump float;\n{{{originalFragmentSource}}}' :