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.cpp | |
parent | eccd18a91f55753425daee47ea000262689accd9 (diff) |
Cycles: Fix compilation in debug mode
Please check compilation before committing refactor changes!
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r-- | intern/cycles/device/device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp index 41fbe7ce81b..1a3a3846c25 100644 --- a/intern/cycles/device/device.cpp +++ b/intern/cycles/device/device.cpp @@ -88,7 +88,7 @@ Device::~Device() void Device::draw_pixels(device_memory& rgba, int y, int w, int h, int dx, int dy, int width, int height, bool transparent, const DeviceDrawParams &draw_params) { - assert(mem.type == MEM_PIXELS); + assert(rgba.type == MEM_PIXELS); mem_copy_from(rgba, y, w, h, rgba.memory_elements_size(1)); |