diff --git a/core/src/mindustry/core/Renderer.java b/core/src/mindustry/core/Renderer.java index d49666b7e5..37806c1290 100644 --- a/core/src/mindustry/core/Renderer.java +++ b/core/src/mindustry/core/Renderer.java @@ -446,6 +446,7 @@ public class Renderer implements ApplicationListener{ PixmapIO.writePNG(file, fullPixmap); fullPixmap.dispose(); ui.showInfoFade(Core.bundle.format("screenshot", file.toString())); + buffer.dispose(); } diff --git a/gradle.properties b/gradle.properties index 97e3fc296e..f9d6427031 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=8832704de8efe141f67ba5a509abb7fe8c10ae09 +archash=209a66920d1968e4ec5ed80fa7a6c0cf6a070d1b