mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 22:16:01 +00:00
0.3.0
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user