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:
@@ -77,7 +77,7 @@ ol.renderer.webgl.Map = function(container, map) {
|
|||||||
*/
|
*/
|
||||||
this.gl_ = ol.webgl.getContext(this.canvas_, {
|
this.gl_ = ol.webgl.getContext(this.canvas_, {
|
||||||
antialias: true,
|
antialias: true,
|
||||||
depth: false,
|
depth: true,
|
||||||
failIfMajorPerformanceCaveat: true,
|
failIfMajorPerformanceCaveat: true,
|
||||||
preserveDrawingBuffer: false,
|
preserveDrawingBuffer: false,
|
||||||
stencil: true
|
stencil: true
|
||||||
|
|||||||
Reference in New Issue
Block a user