mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-07 06:07:46 +00:00
Revert "fix: reduce max level render size to stay within laptop GPU display list limits"
This reverts commit 2565c7193c.
This commit is contained in:
parent
2565c7193c
commit
a92180a713
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue