mirror of https://github.com/axmolengine/axmol.git
issue #2404: Mark Texture2D::setTexParameters(const ccTexParams* texParams) as deprecated.
This commit is contained in:
parent
d42ff355b6
commit
e5c2ad0cb8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue