Skip to content

Commit

Permalink
fix destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
aardgoose committed Jul 11, 2023
1 parent 16a1704 commit 02bda81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/renderers/common/Textures.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Textures extends DataMap {

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

this._destroyTexture( texture );
this._destroyTexture( textures[ i ] );

}

Expand Down

0 comments on commit 02bda81

Please sign in to comment.