Skip to content

Commit

Permalink
CCSprite#displayFrame returns the correct frame in RetinaDisplay
Browse files Browse the repository at this point in the history
Thanks minggo
  • Loading branch information
ricardoquesada committed Aug 22, 2012
1 parent b7b8718 commit ec7cc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/CCSprite.m
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ -(CCSpriteFrame*) displayFrame
return [CCSpriteFrame frameWithTexture:texture_
rectInPixels:CC_RECT_POINTS_TO_PIXELS(rect_)
rotated:rectRotated_
offset:unflippedOffsetPositionFromCenter_
offset:CC_POINT_POINTS_TO_PIXELS(unflippedOffsetPositionFromCenter_)
originalSize:CC_SIZE_POINTS_TO_PIXELS(contentSize_)];
}

Expand Down

0 comments on commit ec7cc1c

Please sign in to comment.