Skip to content

Commit e72a3b2

Browse files
committed
Call new unbind method
1 parent bd2ac19 commit e72a3b2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/renderer/webgl/PipelineManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,11 @@ var PipelineManager = new Class({
437437
{
438438
this.flush();
439439

440+
if (this.current)
441+
{
442+
this.current.unbind();
443+
}
444+
440445
this.current = pipeline;
441446

442447
pipeline.bind();

0 commit comments

Comments
 (0)