We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 599213d commit 2c88b89Copy full SHA for 2c88b89
1 file changed
src/renderer/webgl/pipelines/PostFXPipeline.js
@@ -74,6 +74,8 @@ var PostFXPipeline = new Class({
74
75
WebGLPipeline.call(this, config);
76
77
+ this.isPostFX = true;
78
+
79
/**
80
* A Color Matrix instance belonging to this pipeline.
81
*
@@ -148,6 +150,13 @@ var PostFXPipeline = new Class({
148
150
* @since 3.50.0
149
151
*/
152
this.halfFrame2;
153
154
+ if (this.renderer.isBooted)
155
+ {
156
+ this.manager = this.renderer.pipelines;
157
158
+ this.boot();
159
+ }
160
},
161
162
boot: function ()
@@ -339,7 +348,7 @@ var PostFXPipeline = new Class({
339
348
340
349
if (!target)
341
350
{
342
- renderer.resetTextures();
351
+ gl.bindTexture(gl.TEXTURE_2D, null);
343
352
}
344
353
else
345
354
0 commit comments