mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Cleanup.
This commit is contained in:
parent
5bca3eca85
commit
11e7f59ba3
1 changed files with 1 additions and 1 deletions
|
@ -2849,7 +2849,7 @@ data.NumQualityLevels = 0;
|
||||||
{
|
{
|
||||||
ID3D12Resource* staging = createCommittedResource(s_renderD3D12->m_device, HeapProperty::Upload, _size);
|
ID3D12Resource* staging = createCommittedResource(s_renderD3D12->m_device, HeapProperty::Upload, _size);
|
||||||
uint8_t* data;
|
uint8_t* data;
|
||||||
DX_CHECK(staging->Map(0, nullptr, (void**)&data) );
|
DX_CHECK(staging->Map(0, NULL, (void**)&data) );
|
||||||
memcpy(data, _data, _size);
|
memcpy(data, _data, _size);
|
||||||
staging->Unmap(0, NULL);
|
staging->Unmap(0, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue