Skip to content

Commit e2ec52c

Browse files
committed
Slightly reduce initial size of index region
1 parent ac6d89b commit e2ec52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/jellysquid/mods/sodium/client/render/chunk/region/RenderRegion.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public DeviceResources(CommandList commandList, StagingBuffer stagingBuffer) {
215215
stride = ChunkMeshFormats.VANILLA_LIKE.getVertexFormat().getStride();
216216
}
217217
this.geometryArena = new GlBufferArena(commandList, REGION_SIZE * 756, stride, stagingBuffer);
218-
this.indexArena = new GlBufferArena(commandList, (REGION_SIZE * 189) / 4 * 6, 4, stagingBuffer);
218+
this.indexArena = new GlBufferArena(commandList, (REGION_SIZE * 378) / 4 * 6, 4, stagingBuffer);
219219
}
220220

221221
public void updateTessellation(CommandList commandList, GlTessellation tessellation) {

0 commit comments

Comments
 (0)