diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-15 01:18:20 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-15 01:18:20 +0400 |
commit | 11707119ded9616b5cb81e1be8eff56727cb4299 (patch) | |
tree | 99843238e33030de20fca19ca6bb5c03bf413c50 /intern/cycles/device/device_cpu.cpp | |
parent | d70497cefc0921a70d3a6179af7df58bb55f974c (diff) |
Cycles:
* Code cleanup, remove unused "resolution" variable from the DeviceTask class, was never used.
Diffstat (limited to 'intern/cycles/device/device_cpu.cpp')
-rw-r--r-- | intern/cycles/device/device_cpu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp index 47f3273fdfa..95df2e21608 100644 --- a/intern/cycles/device/device_cpu.cpp +++ b/intern/cycles/device/device_cpu.cpp @@ -246,13 +246,13 @@ public: for(int y = task.y; y < task.y + task.h; y++) for(int x = task.x; x < task.x + task.w; x++) kernel_cpu_sse3_tonemap(&kernel_globals, (uchar4*)task.rgba, (float*)task.buffer, - task.sample, task.resolution, x, y, task.offset, task.stride); + task.sample, x, y, task.offset, task.stride); } else if(system_cpu_support_sse2()) { for(int y = task.y; y < task.y + task.h; y++) for(int x = task.x; x < task.x + task.w; x++) kernel_cpu_sse2_tonemap(&kernel_globals, (uchar4*)task.rgba, (float*)task.buffer, - task.sample, task.resolution, x, y, task.offset, task.stride); + task.sample, x, y, task.offset, task.stride); } else #endif @@ -260,7 +260,7 @@ public: for(int y = task.y; y < task.y + task.h; y++) for(int x = task.x; x < task.x + task.w; x++) kernel_cpu_tonemap(&kernel_globals, (uchar4*)task.rgba, (float*)task.buffer, - task.sample, task.resolution, x, y, task.offset, task.stride); + task.sample, x, y, task.offset, task.stride); } } |