This commit is contained in:
Moulberry committed 2024-08-29 10:34:49 +08:00
1 parent d2a217509f
commit 4d8f896cdf
90 files changed
+2345 -720

No files matched your search

@@ -3,6 +3,8 @@ package com.moulberry.flashback.exporting;
import com.mojang.blaze3d.pipeline.MainTarget;
import com.mojang.blaze3d.pipeline.RenderTarget;
import com.mojang.blaze3d.platform.NativeImage;
import com.mojang.blaze3d.systems.RenderSystem;
import net.minecraft.client.Minecraft;
import org.jetbrains.annotations.Nullable;
import org.lwjgl.opengl.GL30C;
import org.lwjgl.system.MemoryUtil;
@@ -20,7 +22,6 @@ public class SaveableFramebuffer implements AutoCloseable {
this.pboId = -1;
}
public void startDownload(RenderTarget framebuffer, int width, int height) {
if (this.isDownloading) {
throw new IllegalStateException("Can't start downloading while already downloading");