Cycles: Pass reference to device_pointer when calling transform_host_pointer #104454

Merged
Brecht Van Lommel merged 1 commits from Yup_Lucas/blender:Yup_Lucas/fix-broken-device_pointer into main 2023-02-08 19:27:42 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ GPUDevice::Mem *GPUDevice::generic_alloc(device_memory &mem, size_t pitch_paddin
}
if (mem_alloc_result) {
assert(transform_host_pointer(&device_pointer, shared_pointer));
assert(transform_host_pointer(device_pointer, shared_pointer));
map_host_used += size;
status = " in host memory";
}