Add comment for issue #4

This commit is contained in:
James Seibel
2021-02-23 15:18:21 -06:00
parent c353335968
commit 1c2974cf6a
@@ -496,6 +496,9 @@ public class LodRenderer
for(int i = 0; i < numbBufferThreads; i++)
{
// TODO complain or do something when memory is too low
// currently the VM will just crash and complain there is no more memory
// issue #4
drawableNearBuffers[i] = new BufferBuilder(bufferMaxCapacity);
drawableFarBuffers[i] = new BufferBuilder(bufferMaxCapacity);
@@ -565,7 +568,6 @@ public class LodRenderer
int startX = (-LodChunk.WIDTH * (numbChunksWide / 2)) + playerXChunkOffset;
int startZ = (-LodChunk.WIDTH * (numbChunksWide / 2)) + playerZChunkOffset;
Thread t = new Thread(()->
{
// x axis
@@ -614,7 +616,6 @@ public class LodRenderer
lod.colors[ColorDirection.TOP.value].getAlpha());
if (!debugging)
{
// add the color to the array