aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/LevelRenderer.h
diff options
context:
space:
mode:
authorOmri <omrih.e@protonmail.com>2026-03-02 00:00:08 +0200
committerGitHub <noreply@github.com>2026-03-02 00:00:08 +0200
commit0d33cfbdbc4c3a80528bd263ce6e53be85340713 (patch)
treef4640efcc7d8ba60e3f925eda1d1e2cba9b33c36 /Minecraft.Client/LevelRenderer.h
parent34d398cf1b3aa1bfa22a2e4ba434d8b6b63b3dc3 (diff)
parent071d4f65998d617440ade95bd291e47a6a220c59 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.Client/LevelRenderer.h')
-rw-r--r--Minecraft.Client/LevelRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/LevelRenderer.h b/Minecraft.Client/LevelRenderer.h
index 41eb3593..c0a98bba 100644
--- a/Minecraft.Client/LevelRenderer.h
+++ b/Minecraft.Client/LevelRenderer.h
@@ -44,7 +44,7 @@ public:
#endif
static const int CHUNK_Y_COUNT = Level::maxBuildHeight / CHUNK_SIZE;
#if defined _XBOX_ONE
- static const int MAX_COMMANDBUFFER_ALLOCATIONS = 512 * 1024 * 1024; // 4J - added
+ static const int MAX_COMMANDBUFFER_ALLOCATIONS = 2047 * 1024 * 1024; // Changed to 2047. 4J had set to 512.
#elif defined __ORBIS__
static const int MAX_COMMANDBUFFER_ALLOCATIONS = 448 * 1024 * 1024; // 4J - added - hard limit is 512 so giving a lot of headroom here for fragmentation (have seen 16MB lost to fragmentation in multiplayer crash dump before)
#elif defined __PS3__