mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
dispose rendered image
This commit is contained in:
@@ -88,6 +88,8 @@ public class RewardActor extends Actor implements Disposable, ImageFetcher.Callb
|
||||
}
|
||||
if (T != null)
|
||||
T.dispose();
|
||||
if (Talt != null)
|
||||
Talt.dispose();
|
||||
}
|
||||
|
||||
public boolean toolTipIsVisible() {
|
||||
@@ -140,6 +142,8 @@ public class RewardActor extends Actor implements Disposable, ImageFetcher.Callb
|
||||
}
|
||||
if (T != null)
|
||||
T.dispose();
|
||||
if (alternate && Talt != null)
|
||||
Talt.dispose();
|
||||
ImageCache.updateSynqCount(imageFile, count);
|
||||
Gdx.graphics.requestRendering();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user