Skip to content

Commit ac78c0b

Browse files
committed
Fix for a ARC warning.
1 parent 2e90bd5 commit ac78c0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cocos2d/CCProtocols.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
@property(nonatomic, readonly) NSMutableDictionary *shaderUniforms;
5151

5252
/// The rendering state this node will use when rendering.
53-
@property(nonatomic, readonly) CCRenderState *renderState;
53+
@property(nonatomic, readonly, strong) CCRenderState *renderState;
5454

5555
@end
5656

@@ -75,7 +75,7 @@
7575
@property(nonatomic, readwrite, strong) CCBlendMode *blendMode;
7676

7777
/// The rendering state this node will use when rendering.
78-
@property(nonatomic, readonly) CCRenderState *renderState;
78+
@property(nonatomic, readonly, strong) CCRenderState *renderState;
7979

8080
/** set the source blending function for the texture */
8181
-(void) setBlendFunc:(ccBlendFunc)blendFunc __attribute__((deprecated));
@@ -103,7 +103,7 @@
103103
@property(nonatomic, strong) CCTexture *texture;
104104

105105
/// The rendering state this node will use when rendering.
106-
@property(nonatomic, readonly) CCRenderState *renderState;
106+
@property(nonatomic, readonly, strong) CCRenderState *renderState;
107107

108108
@end
109109

0 commit comments

Comments
 (0)