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 @@ -187,7 +187,7 @@ - (CCEffectPrepareStatus)prepareForRendering
187187 for (NSArray *stitchList in stitchLists)
188188 {
189189 NSAssert (stitchList.count > 0 , @" Encountered an empty stitch list which shouldn't happen." );
190- [stitchedEffects addObject: [self stitchEffects: stitchList startIndex: effectIndex]];
190+ [stitchedEffects addObject: [CCEffectStack stitchEffects: stitchList startIndex: effectIndex]];
191191 effectIndex += stitchList.count ;
192192 }
193193 }
@@ -222,7 +222,7 @@ - (BOOL)readyForRendering
222222
223223#pragma mark - Internal
224224
225- - (CCEffect *)stitchEffects : (NSArray *)effects startIndex : (int )startIndex
225+ + (CCEffect *)stitchEffects : (NSArray *)effects startIndex : (int )startIndex
226226{
227227 NSMutableArray * allFragFunctions = [[NSMutableArray alloc ] init ];
228228 NSMutableArray * allFragUniforms = [[NSMutableArray alloc ] init ];
You can’t perform that action at this time.
0 commit comments