Skip to content

Commit 27c0a68

Browse files
author
Thayer J Andrews
committed
CCEffectColorChannelOffset - Fix effect function name
1 parent 560ac9c commit 27c0a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCEffectColorChannelOffset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ -(void)buildFragmentFunctions
7474
return vec4(redSample.r, greenSample.g, blueSample.b, (redSample.r + greenSample.g + blueSample.b) / 3.0);
7575
);
7676

77-
CCEffectFunction* fragmentFunction = [[CCEffectFunction alloc] initWithName:@"pixellateEffect" body:effectBody inputs:nil returnType:@"vec4"];
77+
CCEffectFunction* fragmentFunction = [[CCEffectFunction alloc] initWithName:@"colorChannelOffsetEffect" body:effectBody inputs:nil returnType:@"vec4"];
7878
[self.fragmentFunctions addObject:fragmentFunction];
7979
}
8080

0 commit comments

Comments
 (0)