We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02bde43 commit ff23ca5Copy full SHA for ff23ca5
1 file changed
src/renderer/webgl/WebGLPipeline.js
@@ -779,7 +779,7 @@ var WebGLPipeline = new Class({
779
780
if (target)
781
{
782
- renderer.setFramebuffer(this.targetFramebuffer);
+ renderer.pushFramebuffer(this.targetFramebuffer);
783
784
if (this.targetAutoClear)
785
@@ -865,8 +865,7 @@ var WebGLPipeline = new Class({
865
*/
866
postFlush: function (gameObject)
867
868
- this.renderer.setFramebuffer(null);
869
- this.renderer.resetTextures();
+ this.renderer.popFramebuffer();
870
871
var wasBound = this.renderer.setVertexBuffer(this.vertexBuffer);
872
0 commit comments