Dispose texture, not bitmapdata.

This commit is contained in:
NathanSweet 2014-01-31 16:30:43 +01:00
parent a71f9f4f75
commit 0e47b09706

View File

@ -94,7 +94,7 @@ public class StarlingTextureLoader implements TextureLoader {
}
public function unloadPage (page:AtlasPage) : void {
BitmapData(page.rendererObject).dispose();
Texture(page.rendererObject).dispose();
}
}