Skip to content

Commit 8d5439c

Browse files
author
minggo
committed
Merge pull request cocos2d#828 from folecr/rendertexture-defaults
fixed cocos2d#161: Modify CCRenderTexture::end() default behaviour
2 parents 81005be + b7f442e commit 8d5439c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos2dx/include/CCRenderTexture.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class CC_DLL CCRenderTexture : public CCNode
8080

8181
/** ends grabbing*/
8282
// para bIsTOCacheTexture the parameter is only used for android to cache the texture
83-
void end(bool bIsTOCacheTexture = true);
83+
void end(bool bIsTOCacheTexture = false);
8484

8585
/** clears the texture with a color */
8686
void clear(float r, float g, float b, float a);
@@ -121,4 +121,4 @@ class CC_DLL CCRenderTexture : public CCNode
121121

122122
} // namespace cocos2d
123123

124-
#endif //__CCRENDER_TEXTURE_H__
124+
#endif //__CCRENDER_TEXTURE_H__

0 commit comments

Comments
 (0)