From e52fce044afa2163d8a3711e303be0fc18f981e4 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Fri, 21 Aug 2026 21:10:44 -0400 Subject: [PATCH] fix: D3D debug flag on non debug builds --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 37c5506f..50ae7763 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -552,7 +552,9 @@ HRESULT InitDevice() { D3D_DRIVER_TYPE_HARDWARE, D3D_DRIVER_TYPE_WARP, +#ifdef _DEBUG //str1k3r - using this can actually SLOW stuff down, as its ran on the CPU instead of the GPU also only intended for debugging D3D_DRIVER_TYPE_REFERENCE, +#endif }; UINT numDriverTypes = ARRAYSIZE( driverTypes );