diff options
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); } } |