Redraw map when WebGL context is restored
This commit is contained in:
@@ -408,6 +408,7 @@ ol.webgl.Map.prototype.handleWebGLContextRestored = function() {
|
|||||||
var gl = this.gl_;
|
var gl = this.gl_;
|
||||||
gl.disable(goog.webgl.CULL_FACE);
|
gl.disable(goog.webgl.CULL_FACE);
|
||||||
gl.disable(goog.webgl.SCISSOR_TEST);
|
gl.disable(goog.webgl.SCISSOR_TEST);
|
||||||
|
this.redraw();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user