D3D11: Retrieve feature level when using externally created device.

This commit is contained in:
Branimir Karadžić 2016-04-15 21:24:14 -07:00
parent 628f7e10f9
commit 032ec109dd
1 changed files with 3 additions and 1 deletions

View File

@ -995,9 +995,11 @@ namespace bgfx { namespace d3d11
if (NULL == m_deviceCtx)
{
BX_TRACE("Unable to create Direct3D11 device.");
BX_TRACE("Unable to retrieve Direct3D11 ImmediateContext.");
goto error;
}
m_featureLevel = m_device->GetFeatureLevel();
}
{