mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
D3D11: Retrieve feature level when using externally created device.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user