D3D11: Add extra logging to StateCache::Get

This commit is contained in:
Silent 2019-07-26 20:01:57 +02:00
parent 43bfb183c2
commit baa9636d48
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ ID3D11BlendState* StateCache::Get(BlendingState state)
{
return m_blend.emplace(state.hex, std::move(res)).first->second.Get();
}
WARN_LOG(VIDEO, "Creating D3D blend state failed with an error: %x", hr);
}
D3D11_BLEND_DESC desc = {};