forked from Bodmer/TFT_eSPI
Add: TFT_eSprite destructor.
This commit is contained in:
@@ -91,6 +91,16 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************************
|
||||
** Function name: ~TFT_eSprite
|
||||
** Description: Class destructor
|
||||
*************************************************************************************x*/
|
||||
TFT_eSprite::~TFT_eSprite()
|
||||
{
|
||||
deleteSprite();
|
||||
}
|
||||
|
||||
|
||||
/***************************************************************************************
|
||||
** Function name: callocSprite
|
||||
** Description: Allocate a memory area for the Sprite and return pointer
|
||||
|
||||
Reference in New Issue
Block a user