We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53180cc commit b019c6fCopy full SHA for b019c6f
1 file changed
src/renderer/webgl/WebGLPipeline.js
@@ -881,23 +881,20 @@ var WebGLPipeline = new Class({
881
882
if (target)
883
{
884
- this.draw(target);
885
-
886
- // target.draw();
887
888
- // this.flush(true);
+ this.onDraw(target);
889
}
890
891
this.onPostFlush(gameObject);
892
893
return this;
894
},
895
896
- draw: function (renderTarget)
+ onDraw: function (renderTarget)
897
898
// Post Pipelines can override this as needed
899
this.manager.copyFrame(renderTarget);
900
+
901
902
903
/**
0 commit comments