dx11: don't create the device in debug mode

This commit is contained in:
Flyinghead 2022-05-04 19:38:43 +02:00
parent a1a89df17f
commit a0d1dbf833
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ bool DX11Context::init(bool keepCurrentWindow)
nullptr, // Specify nullptr to use the default adapter.
D3D_DRIVER_TYPE_HARDWARE,
nullptr,
D3D11_CREATE_DEVICE_BGRA_SUPPORT | D3D11_CREATE_DEVICE_DEBUG,
D3D11_CREATE_DEVICE_BGRA_SUPPORT, // | D3D11_CREATE_DEVICE_DEBUG,
featureLevels,
ARRAYSIZE(featureLevels),
D3D11_SDK_VERSION,