diff options
Diffstat (limited to 'intern/cycles/device/opencl/memory_manager.cpp')
-rw-r--r-- | intern/cycles/device/opencl/memory_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/opencl/memory_manager.cpp b/intern/cycles/device/opencl/memory_manager.cpp index a791b374774..75c9de65035 100644 --- a/intern/cycles/device/opencl/memory_manager.cpp +++ b/intern/cycles/device/opencl/memory_manager.cpp @@ -88,7 +88,7 @@ void MemoryManager::DeviceBuffer::update_device_memory(OpenCLDeviceBase *device) CL_FALSE, offset, allocation->mem->memory_size(), - (void*)allocation->mem->data_pointer, + allocation->mem->host_pointer, 0, NULL, NULL )); @@ -127,7 +127,7 @@ void MemoryManager::DeviceBuffer::update_device_memory(OpenCLDeviceBase *device) CL_FALSE, offset, allocation->mem->memory_size(), - (void*)allocation->mem->data_pointer, + allocation->mem->host_pointer, 0, NULL, NULL )); |