Skip to content

Commit

Permalink
propagate onerror
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 14, 2024
1 parent 7e74aa5 commit 2f2ab2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/DRACOLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class DRACOLoader extends Loader {

parse( buffer, onLoad, onError = ()=>{} ) {

this.decodeDracoFile( buffer, onLoad, null, null, SRGBColorSpace ).catch( onError );
this.decodeDracoFile( buffer, onLoad, null, null, SRGBColorSpace, onError ).catch( onError );

}

Expand Down

0 comments on commit 2f2ab2e

Please sign in to comment.