mirror of https://github.com/axmolengine/axmol.git
added releaseGLTexture to release only the glTexture but leave the rest of the texture object intact. Needed to reload cached textures
This commit is contained in:
parent
2c5b449c9c
commit
49a94a20ef
|
@ -203,6 +203,12 @@ public:
|
|||
*/
|
||||
virtual std::string getDescription() const;
|
||||
|
||||
/** release only the gl texture.
|
||||
* @js NA
|
||||
* @lua NA
|
||||
*/
|
||||
void releaseGLTexture();
|
||||
|
||||
/** Initializes with a texture2d with data
|
||||
* @js NA
|
||||
* @lua NA
|
||||
|
|
Loading…
Reference in New Issue