mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Dispose texture, not bitmapdata.
This commit is contained in:
parent
a71f9f4f75
commit
0e47b09706
@ -94,7 +94,7 @@ public class StarlingTextureLoader implements TextureLoader {
|
||||
}
|
||||
|
||||
public function unloadPage (page:AtlasPage) : void {
|
||||
BitmapData(page.rendererObject).dispose();
|
||||
Texture(page.rendererObject).dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user