@@ -517,6 +517,11 @@ THREE.WebGLRenderer = function ( parameters ) {
this.dispose = function() {
+ transparentObjects = [];
+ transparentObjectsLastIndex = -1;
+ opaqueObjects = [];
+ opaqueObjectsLastIndex = -1;
+
_canvas.removeEventListener( 'webglcontextlost', onContextLost, false );
};