aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/LevelRenderer.h
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-02 23:27:20 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-02 23:27:20 -0600
commitfad108aaee9178b65f74ac7ab716599dbfb3a14b (patch)
tree2a135c56c69f5549294dc8ae0c673c9c9ce7602c /Minecraft.Client/LevelRenderer.h
parent3093ca37d3724fd2dc788b2fcabc746bf33f523f (diff)
Use Xbox One command buffer limit - fixes #238
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 46a4c31f..88280b1e 100644
--- a/Minecraft.Client/LevelRenderer.h
+++ b/Minecraft.Client/LevelRenderer.h
@@ -52,7 +52,7 @@ public:
static const int CHUNK_SIZE = 16;
#endif
static const int CHUNK_Y_COUNT = Level::maxBuildHeight / CHUNK_SIZE;
-#if defined _XBOX_ONE
+#if (defined _XBOX_ONE || defined _WINDOWS64)
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)