@@ -942,7 +942,7 @@ -(void)setupStackTest
942
942
[CCEffectBrightness effectWithBrightness: 0 .25f ],
943
943
[CCEffectContrast effectWithContrast: 1 .0f ],
944
944
[CCEffectPixellate effectWithBlockSize: 8 .0f ],
945
- [CCEffectSaturation effectWithSaturation: - 1 .0f ],
945
+ [CCEffectSaturation effectWithSaturation: 1 .0f ],
946
946
[CCEffectHue effectWithHue: 90 .0f ],
947
947
[CCEffectGlass effectWithShininess: 1 .0f refraction: 0 .75f refractionEnvironment: refractEnvironment reflectionEnvironment: reflectEnvironment],
948
948
[CCEffectRefraction effectWithRefraction: 0 .75f environment: refractEnvironment],
@@ -956,7 +956,9 @@ -(void)setupStackTest
956
956
sprite.position = ccp (0 .5f , 0 .5f );
957
957
sprite.scale = 0 .5f ;
958
958
959
- sprite.effect = [CCEffectStack effects: effects[7 ], effects[4 ], nil ];
959
+ CCEffectStack *stack1 = [CCEffectStack effects: effects[7 ], effects[6 ], nil ];
960
+ CCEffectStack *stack2 = [CCEffectStack effects: effects[5 ], effects[4 ], nil ];
961
+ sprite.effect = [CCEffectStack effects: stack1, stack2, nil ];
960
962
961
963
sprite.normalMapSpriteFrame = [CCSpriteFrame frameWithImageNamed: @" Images/ShinyBallNormals.png" ];
962
964
sprite.colorRGBA = [CCColor colorWithRed: 0 .75f green: 0 .75f blue: 0 .75f alpha: 0 .75f ];
@@ -1026,7 +1028,7 @@ -(void)setupPerformanceTest
1026
1028
1027
1029
CGSize containerSize = self.contentNode .contentSizeInPoints ;
1028
1030
1029
- const float footprintScale = 1 . 1f ;
1031
+ const float footprintScale = 0 . 5f ;
1030
1032
1031
1033
NSString *spriteImage = @" Images/r1.png" ;
1032
1034
CCSprite *sprite = [CCSprite spriteWithImageNamed: spriteImage];
0 commit comments