mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 15:19:24 +07:00
Cleanup
This commit is contained in:
parent
6f5815abc8
commit
ab7e840eee
@ -441,7 +441,7 @@ public class Renderer implements ApplicationListener{
|
|||||||
}
|
}
|
||||||
buffer.end();
|
buffer.end();
|
||||||
Pixmap fullPixmap = new Pixmap(w, h, Pixmap.Format.RGBA8888);
|
Pixmap fullPixmap = new Pixmap(w, h, Pixmap.Format.RGBA8888);
|
||||||
BufferUtils.copy(lines, 0, fullPixmap.getPixels(), lines.length);
|
Buffers.copy(lines, 0, fullPixmap.getPixels(), lines.length);
|
||||||
Fi file = screenshotDirectory.child("screenshot-" + Time.millis() + ".png");
|
Fi file = screenshotDirectory.child("screenshot-" + Time.millis() + ".png");
|
||||||
PixmapIO.writePNG(file, fullPixmap);
|
PixmapIO.writePNG(file, fullPixmap);
|
||||||
fullPixmap.dispose();
|
fullPixmap.dispose();
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=66e5566de0832e721ea552ccd31f0febfb6233d7
|
archash=2bdb909aed7b2683ad2dca3c7970890c603dfbaf
|
||||||
|
Loading…
Reference in New Issue
Block a user