aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-26 20:43:59 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-26 20:43:59 +0200
commit32e80596448ca536335638a63b1c7eccb8a12e95 (patch)
treea684233ed2ab4e99316c04bc887cf6cbb77ef41c /src/main/java
parentaad5111d45a66d943f0bcbe885ccb28249441d11 (diff)
downloadOneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.tar.gz
OneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.tar.bz2
OneConfig-32e80596448ca536335638a63b1c7eccb8a12e95.zip
imageloader remove thing
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java b/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java
index 3415ea9..37466b2 100644
--- a/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java
+++ b/src/main/java/io/polyfrost/oneconfig/lwjgl/image/ImageLoader.java
@@ -68,6 +68,10 @@ public class ImageLoader {
return true;
}
+ public void removeImage(String fileName) {
+ imageHashMap.remove(fileName);
+ }
+
public Image getImage(String fileName) {
return imageHashMap.get(fileName);
}