aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-02 02:28:04 +0700
committerGitHub <noreply@github.com>2026-03-02 02:28:04 +0700
commitb06177599c6db6b6b36eba90923aa9edb477827d (patch)
treeb20c7fb1359360582c5ac43a77caaf8af0996fc8 /Minecraft.Client
parentd76650f33346e9fc31cd1f061c37b35dd22b9b9b (diff)
parentc1aebee5b967239643b648aec15930cdf476b9ee (diff)
Merge pull request #43 from Foxify52/main
Increased max available memory beyond 512 mb for Xbox One/Windows build
Diffstat (limited to 'Minecraft.Client')
-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__