Skip to content

Commit fad108a

Browse files
committed
Use Xbox One command buffer limit - fixes #238
1 parent 3093ca3 commit fad108a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Minecraft.Client/LevelRenderer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LevelRenderer : public LevelListener
5252
static const int CHUNK_SIZE = 16;
5353
#endif
5454
static const int CHUNK_Y_COUNT = Level::maxBuildHeight / CHUNK_SIZE;
55-
#if defined _XBOX_ONE
55+
#if (defined _XBOX_ONE || defined _WINDOWS64)
5656
static const int MAX_COMMANDBUFFER_ALLOCATIONS = 2047 * 1024 * 1024; // Changed to 2047. 4J had set to 512.
5757
#elif defined __ORBIS__
5858
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)

0 commit comments

Comments
 (0)