Skip to content

Commit 02bda81

Browse files
author
aardgoose
committed
fix destruction
1 parent 16a1704 commit 02bda81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/renderers/common/Textures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Textures extends DataMap {
9898

9999
for ( let i = 0; i < textures.length; i ++ ) {
100100

101-
this._destroyTexture( texture );
101+
this._destroyTexture( textures[ i ] );
102102

103103
}
104104

0 commit comments

Comments
 (0)