LodRenderSection remove unused code

This commit is contained in:
James Seibel
2026-01-31 16:01:34 -06:00
parent 7e7ccf1f38
commit 6de41cd384
@@ -31,7 +31,6 @@ import com.seibel.distanthorizons.core.file.fullDatafile.V2.FullDataSourceProvid
import com.seibel.distanthorizons.core.level.IDhClientLevel;
import com.seibel.distanthorizons.core.logging.DhLogger;
import com.seibel.distanthorizons.core.logging.DhLoggerBuilder;
import com.seibel.distanthorizons.core.pooling.PhantomArrayListCheckout;
import com.seibel.distanthorizons.core.pos.blockPos.DhBlockPos2D;
import com.seibel.distanthorizons.core.pos.DhSectionPos;
import com.seibel.distanthorizons.core.render.glObject.GLProxy;
@@ -169,16 +168,6 @@ public class LodRenderSection implements IDebugRenderable, AutoCloseable
return false;
}
// Only queue a some of the upload tasks at a time,
// this means the closer (higher priority) tasks will load first.
// This also prevents issues where the nearby tasks are canceled due to
// LOD detail level changing, and having holes in the world
//if (this.uploadTaskCountRef.getAndIncrement() > executor.getPoolSize() * 50)
//{
// this.uploadTaskCountRef.decrementAndGet();
// return false;
//}
try
{
CompletableFuture<Void> future = new CompletableFuture<>();