This commit is contained in:
Anuken
2026-03-01 14:19:46 -05:00
parent 1c2a3eb2e5
commit c9efe991df
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ public class Schematics implements Loadable{
public void savePreview(Schematic schematic, Fi file){ public void savePreview(Schematic schematic, Fi file){
FrameBuffer buffer = getBuffer(schematic); FrameBuffer buffer = getBuffer(schematic);
Draw.flush(); Draw.flush();
buffer.begin(Color.clear); buffer.begin();
Pixmap pixmap = ScreenUtils.getFrameBufferPixmap(0, 0, buffer.getWidth(), buffer.getHeight()); Pixmap pixmap = ScreenUtils.getFrameBufferPixmap(0, 0, buffer.getWidth(), buffer.getHeight());
file.writePng(pixmap); file.writePng(pixmap);
buffer.end(); buffer.end();

View File

@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false android.enableR8.fullMode=false
archash=e866eceb00 archash=59fe54a508