Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
commit
a195a03187
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user