Use glyph atlases
This commit is contained in:
@@ -105,14 +105,14 @@ describe('ol.rendering.style.Text', function() {
|
||||
it('tests the webgl renderer without rotation', function(done) {
|
||||
map = createMap('webgl');
|
||||
createFeatures();
|
||||
expectResemble(map, 'spec/ol/style/expected/text-webgl.png', IMAGE_TOLERANCE, done);
|
||||
expectResemble(map, 'spec/ol/style/expected/text-webgl.png', 1.8, done);
|
||||
});
|
||||
|
||||
it('tests the webgl renderer with rotation', function(done) {
|
||||
map = createMap('webgl');
|
||||
createFeatures();
|
||||
map.getView().setRotation(Math.PI / 7);
|
||||
expectResemble(map, 'spec/ol/style/expected/text-rotated-webgl.png', 1.6, done);
|
||||
expectResemble(map, 'spec/ol/style/expected/text-rotated-webgl.png', 1.8, done);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user