aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64/Windows64_UIController.cpp
diff options
context:
space:
mode:
authorIzan <izanthebestn2@gmail.com>2026-03-01 21:00:40 +0100
committerIzan <izanthebestn2@gmail.com>2026-03-01 21:00:40 +0100
commitd1e8418a776919bc45abf0dc617bb7d2cc8c8e70 (patch)
treec30c5b05c1048a44240bfbab6f6cfd32b4448ea4 /Minecraft.Client/Windows64/Windows64_UIController.cpp
parent5037420311c92a0a795ff4c34a32e6f7fe6bb3ed (diff)
Increase GDRAW_D3D11_RESOURCE_rendertarget limit from 32 MB to 64 MB to prevent allocation warnings at high resolutions
Diffstat (limited to 'Minecraft.Client/Windows64/Windows64_UIController.cpp')
-rw-r--r--Minecraft.Client/Windows64/Windows64_UIController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_UIController.cpp b/Minecraft.Client/Windows64/Windows64_UIController.cpp
index f4e9a9fc..10ae20af 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);