This commit is contained in:
Branimir Karadžić 2015-08-14 19:35:21 -07:00
parent 5bca3eca85
commit 11e7f59ba3

View file

@ -2849,7 +2849,7 @@ data.NumQualityLevels = 0;
{
ID3D12Resource* staging = createCommittedResource(s_renderD3D12->m_device, HeapProperty::Upload, _size);
uint8_t* data;
DX_CHECK(staging->Map(0, nullptr, (void**)&data) );
DX_CHECK(staging->Map(0, NULL, (void**)&data) );
memcpy(data, _data, _size);
staging->Unmap(0, NULL);