From 5ace389ccb6306dc6864f51717281f9bc44a761e Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 19 Jul 2012 09:12:22 +0200 Subject: [PATCH] Redraw map when WebGL context is restored --- src/ol/webgl/map.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/webgl/map.js b/src/ol/webgl/map.js index 60c6538f21..dccd636a28 100644 --- a/src/ol/webgl/map.js +++ b/src/ol/webgl/map.js @@ -408,6 +408,7 @@ ol.webgl.Map.prototype.handleWebGLContextRestored = function() { var gl = this.gl_; gl.disable(goog.webgl.CULL_FACE); gl.disable(goog.webgl.SCISSOR_TEST); + this.redraw(); };