mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
free the texture when we are done with it
This commit is contained in:
parent
67aa830511
commit
c93bb14708
@ -8,6 +8,10 @@ namespace spine {
|
||||
|
||||
class AtlasPage: public BaseAtlasPage {
|
||||
public:
|
||||
~AtlasPage(){
|
||||
delete texture;
|
||||
}
|
||||
|
||||
sf::Texture *texture;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user