File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ -(void)setupClippingNodeTest
26
26
CCNode *stencil = [CCSprite spriteWithImageNamed: @" Sprites/grossini.png" ];
27
27
// [parent addChild:stencil];
28
28
stencil.position = ccp (size.width /2 , size.height /2 );
29
- stencil.scale = 3 .0 ;
29
+ stencil.scale = 5 .0 ;
30
30
[stencil runAction: [CCActionRepeatForever actionWithAction: [CCActionRotateBy actionWithDuration: 1.0 angle: 90.0 ]]];
31
31
32
32
CCClippingNode *clip = [CCClippingNode clippingNodeWithStencil: stencil];
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ - (id)initWithDuration:(NSTimeInterval)duration
165
165
_progress = 0 .0f ;
166
166
167
167
_transitionPixelFormat = CCTexturePixelFormat_RGBA8888;
168
- _transitionDepthStencilFormat = GL_DEPTH24_STENCIL8_OES ;
168
+ _transitionDepthStencilFormat = GL_DEPTH24_STENCIL8 ;
169
169
170
170
// disable touch during transition
171
171
self.userInteractionEnabled = NO ;
You can’t perform that action at this time.
0 commit comments