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
187
187
for (NSArray *stitchList in stitchLists)
188
188
{
189
189
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]];
191
191
effectIndex += stitchList.count ;
192
192
}
193
193
}
@@ -222,7 +222,7 @@ - (BOOL)readyForRendering
222
222
223
223
#pragma mark - Internal
224
224
225
- - (CCEffect *)stitchEffects : (NSArray *)effects startIndex : (int )startIndex
225
+ + (CCEffect *)stitchEffects : (NSArray *)effects startIndex : (int )startIndex
226
226
{
227
227
NSMutableArray * allFragFunctions = [[NSMutableArray alloc ] init ];
228
228
NSMutableArray * allFragUniforms = [[NSMutableArray alloc ] init ];
You can’t perform that action at this time.
0 commit comments