mirror of https://github.com/axmolengine/axmol.git
issue #2404: Mark RenderTexture:: newCCImage as deprecated.
This commit is contained in:
parent
7fd0a923e9
commit
d42ff355b6
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue