From a31de609ce7b3bdb66af43da7a7765836b1b690c Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 1 Mar 2020 16:19:04 -0500 Subject: [PATCH] BufferUtils -> Buffers --- core/src/mindustry/core/Renderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/core/Renderer.java b/core/src/mindustry/core/Renderer.java index 7ac82478ab..bc791bf2cc 100644 --- a/core/src/mindustry/core/Renderer.java +++ b/core/src/mindustry/core/Renderer.java @@ -330,7 +330,7 @@ public class Renderer implements ApplicationListener{ } buffer.end(); 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"); PixmapIO.writePNG(file, fullPixmap); fullPixmap.dispose();