From d1e8418a776919bc45abf0dc617bb7d2cc8c8e70 Mon Sep 17 00:00:00 2001 From: Izan Date: Sun, 1 Mar 2026 21:00:40 +0100 Subject: [PATCH 1/2] Increase GDRAW_D3D11_RESOURCE_rendertarget limit from 32 MB to 64 MB to prevent allocation warnings at high resolutions --- Minecraft.Client/Windows64/Windows64_UIController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Windows64/Windows64_UIController.cpp b/Minecraft.Client/Windows64/Windows64_UIController.cpp index f4e9a9fcf..10ae20aff 100644 --- a/Minecraft.Client/Windows64/Windows64_UIController.cpp +++ b/Minecraft.Client/Windows64/Windows64_UIController.cpp @@ -50,7 +50,7 @@ void ConsoleUIController::init(ID3D11Device *dev, ID3D11DeviceContext *ctx, ID3D really big so if you substitute a different file it should work. */ gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_vertexbuffer, 5000, 16 * 1024 * 1024); gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_texture , 5000, 128 * 1024 * 1024); - gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_rendertarget, 10, 32 * 1024 * 1024); + gdraw_D3D11_SetResourceLimits(GDRAW_D3D11_RESOURCE_rendertarget, 10, 64 * 1024 * 1024); /* GDraw is all set, so we'll point Iggy at it. */ IggySetGDraw(gdraw_funcs); From 4b7a97f904de111e8b5b274688f8fb794410cb0e Mon Sep 17 00:00:00 2001 From: Slenderman Date: Sun, 1 Mar 2026 15:06:39 -0500 Subject: [PATCH 2/2] Update Minecraft.Client.vcxproj --- Minecraft.Client/Minecraft.Client.vcxproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Minecraft.Client.vcxproj b/Minecraft.Client/Minecraft.Client.vcxproj index 5de7c8390..11f6753e7 100644 --- a/Minecraft.Client/Minecraft.Client.vcxproj +++ b/Minecraft.Client/Minecraft.Client.vcxproj @@ -1440,7 +1440,7 @@ xcopy /q /y /i /s /e $(ProjectDir)Durango\CU $(LayoutDir)Image\Loose\CUfalse - Copying sound assets to output directory + Copying game assets to output directory xcopy /q /y /i /s /e "$(ProjectDir)music" "$(OutDir)music" xcopy /q /y /i /s /e "$(ProjectDir)Windows64\GameHDD" "$(OutDir)Windows64\GameHDD" xcopy /q /y /i /s /e "$(ProjectDir)Common\Media" "$(OutDir)Common\Media" @@ -1448,7 +1448,8 @@ xcopy /q /y /i /s /e "$(ProjectDir)Common\res" "$(OutDir)Common\res" xcopy /q /y /i /s /e "$(ProjectDir)Common\Trial" "$(OutDir)Common\Trial" xcopy /q /y /i /s /e "$(ProjectDir)Common\Tutorial" "$(OutDir)Common\Tutorial" xcopy /q /y /i /s /e "$(ProjectDir)DurangoMedia" "$(OutDir)Windows64Media" -xcopy /q /y /i /s /e "$(ProjectDir)Windows64Media" "$(OutDir)Windows64Media" +xcopy /q /y /i /s /e "$(ProjectDir)Windows64Media" "$(OutDir)Windows64Media" +mkdir "$(OutDir)Windows64\GameHDD" 2>nul $(ProjectDir)xbox\xex-dev.xml