[d3d11] Device creation now logs requested feature levels

This commit is contained in:
Philip Rebohle 2017-12-02 19:07:48 +01:00
parent ac2d16599c
commit 7ec8e727d2
1 changed files with 2 additions and 1 deletions

View File

@ -81,6 +81,8 @@ extern "C" {
UINT flId; UINT flId;
for (flId = 0 ; flId < FeatureLevels; flId++) { for (flId = 0 ; flId < FeatureLevels; flId++) {
Logger::info(str::format("D3D11CreateDevice: Probing ", pFeatureLevels[flId]));
if (D3D11Device::CheckFeatureLevelSupport(adapter, pFeatureLevels[flId])) if (D3D11Device::CheckFeatureLevelSupport(adapter, pFeatureLevels[flId]))
break; break;
} }
@ -94,7 +96,6 @@ extern "C" {
const D3D_FEATURE_LEVEL fl = pFeatureLevels[flId]; const D3D_FEATURE_LEVEL fl = pFeatureLevels[flId];
try { try {
Logger::info(str::format("D3D11CreateDevice: Using feature level ", fl)); Logger::info(str::format("D3D11CreateDevice: Using feature level ", fl));
// Write back the actual feature level // Write back the actual feature level