Rename location shader classes
And remove the now unneeded NAMESPACE variable
This commit is contained in:
@@ -4,7 +4,7 @@ import LineString from '../../../../../src/ol/geom/LineString.js';
|
||||
import MultiLineString from '../../../../../src/ol/geom/MultiLineString.js';
|
||||
import WebGLLineStringReplay from '../../../../../src/ol/render/webgl/LineStringReplay.js';
|
||||
import {fragment, vertex} from '../../../../../src/ol/render/webgl/linestringreplay/defaultshader.js';
|
||||
import _ol_render_webgl_linestringreplay_defaultshader_Locations_ from '../../../../../src/ol/render/webgl/linestringreplay/defaultshader/Locations.js';
|
||||
import Locations from '../../../../../src/ol/render/webgl/linestringreplay/defaultshader/Locations.js';
|
||||
import Stroke from '../../../../../src/ol/style/Stroke.js';
|
||||
|
||||
describe('ol.render.webgl.LineStringReplay', function() {
|
||||
@@ -216,8 +216,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
|
||||
|
||||
it('returns the locations used by the shaders', function() {
|
||||
const locations = replay.setUpProgram(gl, context, [2, 2], 1);
|
||||
expect(locations).to.be.a(
|
||||
_ol_render_webgl_linestringreplay_defaultshader_Locations_);
|
||||
expect(locations).to.be.a(Locations);
|
||||
});
|
||||
|
||||
it('gets and compiles the shaders', function() {
|
||||
|
||||
Reference in New Issue
Block a user