We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40e94f commit c37c69eCopy full SHA for c37c69e
1 file changed
v3/src/renderer/webgl/WebGLRenderer.js
@@ -152,7 +152,11 @@ WebGLRenderer.prototype = {
152
{
153
if (this.currentTexture2D != texture2D)
154
155
- this.flush();
+ var batch = this.batch;
156
+ if (batch)
157
+ {
158
+ batch.flush();
159
+ }
160
gl.activeTexture(gl.TEXTURE0);
161
gl.bindTexture(gl.TEXTURE_2D, texture2D);
162
this.currentTexture2D = texture2D;
0 commit comments