Closed petervanderwalt closed 6 years ago
this.canvas = renderer.domElement; this.canvas.addEventListener("webglcontextlost", function(e) { e.preventDefault(); this_.cancelAnimate(); }, false); this.canvas.addEventListener("webglcontextrestored", function(e) { this_.createRenderer(true); this_.animate(); }, false);
Closed in https://github.com/OpenBuilds/cam/commit/5e2d91bd44795693bd77b417f2690598343b161b