Skip to content

Commit 519b4ba

Browse files
authored
test (2:35am) RenderWebGL.js
1 parent ca3e857 commit 519b4ba

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/RenderWebGL.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)