Redraw map when WebGL context is restored

This commit is contained in:
Tom Payne
2012-07-19 09:12:22 +02:00
parent d83235b5dc
commit 5ace389ccb

View File

@@ -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();
};