Fix overdraw issue with Firefox

As usual, Firefox is the good guy here, too, and this is an issue with Chrome
This commit is contained in:
GaborFarkas
2016-06-27 18:48:28 +02:00
parent 4d8777220a
commit 9d6a860cd1

View File

@@ -77,7 +77,7 @@ ol.renderer.webgl.Map = function(container, map) {
*/
this.gl_ = ol.webgl.getContext(this.canvas_, {
antialias: true,
depth: false,
depth: true,
failIfMajorPerformanceCaveat: true,
preserveDrawingBuffer: false,
stencil: true