Skip to content

Commit

Permalink
propagate onerror (#28383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 14, 2024
1 parent 148f9b1 commit 362e4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/loaders/DRACOLoader.js
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 362e4dc

Please sign in to comment.