mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +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 {
|
class AtlasPage: public BaseAtlasPage {
|
||||||
public:
|
public:
|
||||||
|
~AtlasPage(){
|
||||||
|
delete texture;
|
||||||
|
}
|
||||||
|
|
||||||
sf::Texture *texture;
|
sf::Texture *texture;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user