File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1975,10 +1975,7 @@ class RenderWebGL extends EventEmitter {
19751975 }
19761976
19771977 return {
1978- data : data ,
1979- width : bounds . width ,
1980- height : bounds . height ,
1981- color : color
1978+ data : data , width : bounds . width , height : bounds . height , color : color
19821979 } ;
19831980 }
19841981
@@ -2517,13 +2514,13 @@ class RenderWebGL extends EventEmitter {
25172514 } ) ;
25182515 }
25192516
2520- if ( ! this . renderOffscreen && drawable . uniformApplied ) Object . assign ( uniforms , drawable . getUniforms ( ) ) ;
2521- else {
2517+ /* if (!this.renderOffscreen && drawable.uniformApplied) Object.assign(uniforms, drawable.getUniforms());
2518+ else {*/
25222519 drawable . uniformApplied = true ;
25232520 Object . assign (
25242521 uniforms , drawable . skin . getUniforms ( drawableScale ) , drawable . getUniforms ( )
25252522 ) ;
2526- }
2523+ // }
25272524
25282525 // Apply extra uniforms after the Drawable's, to allow overwriting.
25292526 if ( opts . extraUniforms ) Object . assign ( uniforms , opts . extraUniforms ) ;
You can’t perform that action at this time.
0 commit comments