From baa9636d48008af602e15c76a3647317ff4d0aa4 Mon Sep 17 00:00:00 2001 From: Silent Date: Fri, 26 Jul 2019 20:01:57 +0200 Subject: [PATCH] D3D11: Add extra logging to StateCache::Get --- Source/Core/VideoBackends/D3D/D3DState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/D3D/D3DState.cpp b/Source/Core/VideoBackends/D3D/D3DState.cpp index a9727937ac..8923a9e676 100644 --- a/Source/Core/VideoBackends/D3D/D3DState.cpp +++ b/Source/Core/VideoBackends/D3D/D3DState.cpp @@ -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 = {};