dx11 debugresult interpreter method (plugged into where we are finding issues with the material::mul switch on stateblocks

This commit is contained in:
AzaezelX 2019-07-22 08:39:51 -05:00
parent 836c4d34cd
commit 36722c0e22
5 changed files with 78 additions and 4 deletions

View file

@ -77,7 +77,7 @@ GFXD3D11StateBlock::GFXD3D11StateBlock(const GFXStateBlockDesc& desc)
if (FAILED(hr))
{
AssertFatal(false, "GFXD3D11StateBlock::GFXD3D11StateBlock - CreateBlendState call failure.");
AssertFatal(false, avar("GFXD3D11StateBlock::GFXD3D11StateBlock - CreateBlendState call failure: %s.", GFX->interpretDebugResult(hr)));
}
ZeroMemory(&mDepthStencilDesc, sizeof(D3D11_DEPTH_STENCIL_DESC));