From 7f5b84e6e7a7e2565c683f4a7bfb51b26a96a434 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Thu, 1 Aug 2024 13:30:22 +1000 Subject: [PATCH] Remove debug blit --- .../voxy/client/core/model/ModelBakerySubsystem.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/me/cortex/voxy/client/core/model/ModelBakerySubsystem.java b/src/main/java/me/cortex/voxy/client/core/model/ModelBakerySubsystem.java index c7e5b5a1..abd938fe 100644 --- a/src/main/java/me/cortex/voxy/client/core/model/ModelBakerySubsystem.java +++ b/src/main/java/me/cortex/voxy/client/core/model/ModelBakerySubsystem.java @@ -26,11 +26,8 @@ public class ModelBakerySubsystem { public final ModelFactory factory; private final IntLinkedOpenHashSet blockIdQueue = new IntLinkedOpenHashSet(); - private static final GlFramebuffer TMP = new GlFramebuffer(); - public ModelBakerySubsystem(Mapper mapper) { this.factory = new ModelFactory(mapper, this.storage, this.textureDownStream); - TMP.bind(GL_COLOR_ATTACHMENT0, this.storage.textures).verify(); } public void tick() { @@ -57,10 +54,6 @@ public class ModelBakerySubsystem { //Tick the download stream this.textureDownStream.tick(); - - - //Debug blit texture - glBlitNamedFramebuffer(TMP.id, GL11.glGetInteger(GL_DRAW_FRAMEBUFFER_BINDING),0,0,256*3*16,256*2*16, 0,0, 256*3*16,256*2*16, GL_COLOR_BUFFER_BIT, GL_NEAREST); } public void shutdown() {