File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ -(void)buildRenderPasses
284
284
285
285
__weak CCEffectBlur *weakSelf = self;
286
286
287
- CCEffectRenderPass *pass0 = [[CCEffectRenderPass alloc ] init ];
287
+ CCEffectRenderPass *pass0 = [[CCEffectRenderPass alloc ] initWithIndex: 0 ];
288
288
pass0.debugLabel = @" CCEffectBlur pass 0" ;
289
289
pass0.shader = self.shader ;
290
290
pass0.blendMode = [CCBlendMode premultipliedAlphaMode ];
@@ -302,7 +302,7 @@ -(void)buildRenderPasses
302
302
} copy]];
303
303
304
304
305
- CCEffectRenderPass *pass1 = [[CCEffectRenderPass alloc ] init ];
305
+ CCEffectRenderPass *pass1 = [[CCEffectRenderPass alloc ] initWithIndex: 1 ];
306
306
pass1.debugLabel = @" CCEffectBlur pass 1" ;
307
307
pass1.shader = self.shader ;
308
308
pass1.blendMode = [CCBlendMode premultipliedAlphaMode ];
You can’t perform that action at this time.
0 commit comments