mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
@@ -461,7 +461,7 @@ namespace bgfx { namespace d3d12
|
||||
void* ptr;
|
||||
DX_CHECK(resource->Map(0, NULL, &ptr) );
|
||||
D3D12_RESOURCE_ALLOCATION_INFO rai = _device->GetResourceAllocationInfo(1, 1, _resourceDesc);
|
||||
bx::memSet(ptr, 0, rai.SizeInBytes);
|
||||
bx::memSet(ptr, 0, size_t(rai.SizeInBytes) );
|
||||
resource->Unmap(0, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user