Revert "fix: reduce max level render size to stay within laptop GPU display list limits"

This reverts commit 2565c7193c.
This commit is contained in:
JuiceyDev 2026-03-06 21:00:10 +01:00
parent 2565c7193c
commit a92180a713
2 changed files with 3 additions and 3 deletions

View file

@ -91,12 +91,12 @@ const int LevelRenderer::DIMENSION_OFFSETS[3] = { 0, (overworldSize * overworldS
// Dimension idx 1 (nether) : 44 ( = 18 + 13 + 13 )
// Dimension idx 2 (the end) : 44 ( = 18 + 13 + 13 )
const int LevelRenderer::MAX_LEVEL_RENDER_SIZE[3] = { 32, 32, 32 };
const int LevelRenderer::MAX_LEVEL_RENDER_SIZE[3] = { 80, 44, 44 };
// Linked directly to the sizes in the previous array, these next values dictate the start offset for each dimension index into the global array for these things.
// Each dimension uses MAX_LEVEL_RENDER_SIZE[i]^2 * 8 indices, as a MAX_LEVEL_RENDER_SIZE * MAX_LEVEL_RENDER_SIZE * 8 sized cube of references.
const int LevelRenderer::DIMENSION_OFFSETS[3] = { 0, (32 * 32 * CHUNK_Y_COUNT) , (32 * 32 * CHUNK_Y_COUNT) + ( 32 * 32 * CHUNK_Y_COUNT ) };
const int LevelRenderer::DIMENSION_OFFSETS[3] = { 0, (80 * 80 * CHUNK_Y_COUNT) , (80 * 80 * CHUNK_Y_COUNT) + ( 44 * 44 * CHUNK_Y_COUNT ) };
#endif
LevelRenderer::LevelRenderer(Minecraft *mc, Textures *textures)

View file

@ -33,7 +33,7 @@ global_cpp_args = [
# global ccp defs type shi
global_cpp_defs = [
'-DSPLIT_SAVES',
# '-D_LARGE_WORLDS',
'-D_LARGE_WORLDS',
'-D_EXTENDED_ACHIEVEMENTS',
'-D_DEBUG_MENUS_ENABLED',
'-D_DEBUG',