diff --git a/cocos/2d/platform/CCImage.h b/cocos/2d/platform/CCImage.h index 755c03bcec..2f0be6d8fa 100644 --- a/cocos/2d/platform/CCImage.h +++ b/cocos/2d/platform/CCImage.h @@ -155,7 +155,7 @@ protected: bool saveImageToPNG(const std::string& filePath, bool isToRGB = true); bool saveImageToJPG(const std::string& filePath); -private: +protected: /** @brief Determine how many mipmaps can we have. Its same as define but it respects namespaces @@ -175,7 +175,7 @@ private: std::string _filePath; -private: +protected: // noncopyable Image(const Image& rImg); Image & operator=(const Image&);