This commit is contained in:
Branimir Karadžić 2018-03-06 20:52:56 -08:00
parent 628e2fcab7
commit 1c5aa7fd7e

View File

@ -1511,12 +1511,11 @@ namespace bgfx { namespace d3d12
D3D12_COMMAND_SIGNATURE_DESC commandSignatureDesc = { BGFX_CONFIG_DRAW_INDIRECT_STRIDE, 1, &argDesc, 1 }; D3D12_COMMAND_SIGNATURE_DESC commandSignatureDesc = { BGFX_CONFIG_DRAW_INDIRECT_STRIDE, 1, &argDesc, 1 };
m_commandSignature[ii] = NULL; m_commandSignature[ii] = NULL;
hr = m_device->CreateCommandSignature(&commandSignatureDesc DX_CHECK(m_device->CreateCommandSignature(&commandSignatureDesc
, m_rootSignature , NULL
, IID_ID3D12CommandSignature , IID_ID3D12CommandSignature
, (void**)&m_commandSignature[ii] , (void**)&m_commandSignature[ii]
); ) );
BX_WARN(SUCCEEDED(hr), "%d: hr 0x%08x", ii, hr);
} }
} }
} }