Skip to content

Commit 327f43d

Browse files
authored
LogLuvLoader: Clean up. (#22879)
1 parent 1d544d0 commit 327f43d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/jsm/loaders/LogLuvLoader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ UTIF.toRGBA = function ( out, type ) {
399399

400400
}
401401

402-
const intp = ( out[ 't262' ] ? out[ 't262' ][ 0 ] : 2 ), bps = ( out[ 't258' ] ? Math.min( 32, out[ 't258' ][ 0 ] ) : 1 );
402+
let intp = out[ 't262' ] ? out[ 't262' ][ 0 ] : 2;
403+
const bps = out[ 't258' ] ? Math.min( 32, out[ 't258' ][ 0 ] ) : 1;
403404

404405
if ( out[ 't262' ] == null && bps == 1 ) intp = 0;
405406

0 commit comments

Comments
 (0)