free the texture when we are done with it

This commit is contained in:
Victor Savu 2013-03-04 20:51:47 +02:00
parent 67aa830511
commit c93bb14708

View File

@ -8,6 +8,10 @@ namespace spine {
class AtlasPage: public BaseAtlasPage {
public:
~AtlasPage(){
delete texture;
}
sf::Texture *texture;
};