Remove debug blit

This commit is contained in:
mcrcortex
2024-08-01 13:30:22 +10:00
parent 2f07b8420b
commit 7f5b84e6e7

View File

@@ -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() {