dx11: don't create the device in debug mode
This commit is contained in:
parent
a1a89df17f
commit
a0d1dbf833
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue