issue #2404: Mark Texture2D::setTexParameters(const ccTexParams* texParams) as deprecated.

This commit is contained in:
James Chen 2013-07-24 17:54:17 +08:00
parent d42ff355b6
commit e5c2ad0cb8
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public:
@since v0.8
*/
void setTexParameters(const ccTexParams& texParams);
CC_DEPRECATED_ATTRIBUTE void setTexParameters(const ccTexParams* texParams) { return setTexParameters(*texParams); };
/** sets antialias texture parameters:
- GL_TEXTURE_MIN_FILTER = GL_LINEAR