Skip to content

Commit 12a1ef3

Browse files
committed
Fixed pipeline binding
1 parent 5170784 commit 12a1ef3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ var WebGLRenderer = new Class({
266266
{
267267
if (this.currentPipeline !== pipelineInstance)
268268
{
269+
this.flush();
269270
this.currentPipeline = pipelineInstance;
270271
this.currentPipeline.bind(overrideProgram);
271272
}

0 commit comments

Comments
 (0)