forked from cafeberry/cafeberry
fix: D3D debug flag on non debug builds
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user