fix: D3D debug flag on non debug builds
This commit is contained in:
1 parent
327da2f843
commit
e52fce044a
1 file changed
+2
@@ -552,7 +552,9 @@ HRESULT InitDevice()
|
|||||||
{
|
{
|
||||||
D3D_DRIVER_TYPE_HARDWARE,
|
D3D_DRIVER_TYPE_HARDWARE,
|
||||||
D3D_DRIVER_TYPE_WARP,
|
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,
|
D3D_DRIVER_TYPE_REFERENCE,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
UINT numDriverTypes = ARRAYSIZE( driverTypes );
|
UINT numDriverTypes = ARRAYSIZE( driverTypes );
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user