issue #2404: Mark RenderTexture:: newCCImage as deprecated.

This commit is contained in:
James Chen 2013-07-24 17:53:34 +08:00
parent 7fd0a923e9
commit d42ff355b6
1 changed files with 3 additions and 0 deletions

View File

@ -104,8 +104,11 @@ public:
/* creates a new Image from with the texture's data.
Caller is responsible for releasing it by calling delete.
*/
Image* newImage(bool flipImage = true);
CC_DEPRECATED_ATTRIBUTE Image* newCCImage(bool flipImage = true) { return newImage(flipImage); };
/** saves the texture into a file using JPEG format. The file will be saved in the Documents folder.
Returns YES if the operation is successful.
*/