fix: D3D debug flag on non debug builds

This commit is contained in:
2026-08-21 21:10:44 -04:00
parent 327da2f843
commit e52fce044a
@@ -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 );