Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.85k stars 819 forks source link

Added ability to manually restore TextureBase. #877

Closed rzarich closed 8 years ago

rzarich commented 8 years ago

Hi,

We are working on Firefly Framework http://firefly.in4ray.com/ and for our new version we need ability to manually restore TextureBase object in textures that will be used by our Texture State managment functionality. Please merge if it acceptable for you.

We asked you to do the same for previous version of Starling (https://github.com/Gamua/Starling-Framework/pull/386). It's important for us because we want to migrate the platform to Starling 2.0.

Thx in advance, Roman Zarichnyi

PrimaryFeather commented 8 years ago

I added that method, though I renamed it to recreateBase(). I hope that's fine, too. :-)

rzarich commented 8 years ago

Oh! Thank you a lot!