From 9d6a860cd1da80ea6c1538c7c7e7b509d19a4bf5 Mon Sep 17 00:00:00 2001 From: GaborFarkas Date: Mon, 27 Jun 2016 18:48:28 +0200 Subject: [PATCH] Fix overdraw issue with Firefox As usual, Firefox is the good guy here, too, and this is an issue with Chrome --- src/ol/renderer/webgl/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/renderer/webgl/map.js b/src/ol/renderer/webgl/map.js index 607d86600b..e055609ff6 100644 --- a/src/ol/renderer/webgl/map.js +++ b/src/ol/renderer/webgl/map.js @@ -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