Use named exports from ol/index.js
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import _ol_ from '../../../index.js';
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
@@ -16,7 +16,7 @@ import _ol_ from '../../../index.js';
|
||||
* @type {WebGLUniformLocation}
|
||||
*/
|
||||
this.{{originalName}} = gl.getUniformLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
{{/uniforms}}
|
||||
{{#attributes}}
|
||||
|
||||
@@ -24,7 +24,7 @@ import _ol_ from '../../../index.js';
|
||||
* @type {number}
|
||||
*/
|
||||
this.{{originalName}} = gl.getAttribLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
program, DEBUG_WEBGL ? '{{originalName}}' : '{{shortName}}');
|
||||
{{/attributes}}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user