Don't use WebGL if there is a major performance caveat
This commit is contained in:
@@ -88,6 +88,7 @@ ol.renderer.webgl.Map = function(container, map) {
|
||||
this.gl_ = ol.webgl.getContext(this.canvas_, {
|
||||
antialias: true,
|
||||
depth: false,
|
||||
failIfMajorPerformanceCaveat: true,
|
||||
preserveDrawingBuffer: false,
|
||||
stencil: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user