Skip to content

Commit 5845bd5

Browse files
committed
Redraw render texture before drawing the child sprite.
1 parent e9099b5 commit 5845bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCRenderTexture.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ - (void)visit
315315
kmGLPushMatrix();
316316

317317
[self transform];
318-
[_sprite visit];
319318
[self draw];
319+
[_sprite visit];
320320

321321
kmGLPopMatrix();
322322

0 commit comments

Comments
 (0)