Skip to content

Commit

Permalink
DataTextureLoader: Remove obsolete line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jul 27, 2023
1 parent aaeb509 commit 1b23c46
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/loaders/DataTextureLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ class DataTextureLoader extends Loader {

}

if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors

if ( texData.image !== undefined ) {

texture.image = texData.image;
Expand Down

0 comments on commit 1b23c46

Please sign in to comment.