File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -202,12 +202,14 @@ - (void)startTransition:(CCScene *)scene
202202 _outgoingTexture = [CCRenderTexture renderTextureWithWidth: size.width height: size.height pixelFormat: _transitionPixelFormat depthStencilFormat: _transitionDepthStencilFormat];
203203 _outgoingTexture.position = CGPointMake (size.width * 0 .5f + rect.origin .x , size.height * 0 .5f + rect.origin .y );
204204 _outgoingTexture.contentScale /= _outgoingDownScale;
205+ _outgoingTexture.projection = [CCDirector sharedDirector ].projectionMatrix ;
205206 [self addChild: _outgoingTexture z: _outgoingOverIncoming];
206207
207208 // create texture for incoming scene
208209 _incomingTexture = [CCRenderTexture renderTextureWithWidth: size.width height: size.height pixelFormat: _transitionPixelFormat depthStencilFormat: _transitionDepthStencilFormat];
209210 _incomingTexture.position = CGPointMake (size.width * 0 .5f + rect.origin .x , size.height * 0 .5f + rect.origin .y );
210211 _incomingTexture.contentScale /= _incomingDownScale;
212+ _incomingTexture.projection = [CCDirector sharedDirector ].projectionMatrix ;
211213 [self addChild: _incomingTexture];
212214
213215 // make sure scene is rendered at least once at progress 0.0
You can’t perform that action at this time.
0 commit comments