Selaa lähdekoodia

force context loss in renderer.dispose

Vladimir Agafonkin 5 vuotta sitten
vanhempi
commit
ba248bcbf0
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/renderers/WebGLRenderer.js

+ 2 - 0
src/renderers/WebGLRenderer.js

@@ -577,6 +577,8 @@ function WebGLRenderer( parameters ) {
 
 		animation.stop();
 
+		this.forceContextLoss();
+
 	};
 
 	// Events