diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 13:09:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 13:09:02 +0300 |
commit | e03df90bf36f907a99ebd8cba6cf03cf05ca71a3 (patch) | |
tree | 69f511249505c4f27ab9380ec7232a6a215f5455 /intern/cycles/device/device_memory.h | |
parent | eccd18a91f55753425daee47ea000262689accd9 (diff) |
Cycles: Fix compilation in debug mode
Please check compilation before committing refactor changes!
Diffstat (limited to 'intern/cycles/device/device_memory.h')
-rw-r--r-- | intern/cycles/device/device_memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_memory.h b/intern/cycles/device/device_memory.h index 7bf8bdc1cea..e6b2d059ef3 100644 --- a/intern/cycles/device/device_memory.h +++ b/intern/cycles/device/device_memory.h @@ -303,7 +303,7 @@ public: data_width = width; data_height = height; data_depth = depth; - assert(device_ptr == 0); + assert(device_pointer == 0); return get_data(); } @@ -331,7 +331,7 @@ public: data_width = width; data_height = height; data_depth = depth; - assert(device_ptr == 0); + assert(device_pointer == 0); return get_data(); } |