Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-05-15 01:18:20 +0400
committerThomas Dinges <blender@dingto.org>2013-05-15 01:18:20 +0400
commit11707119ded9616b5cb81e1be8eff56727cb4299 (patch)
tree99843238e33030de20fca19ca6bb5c03bf413c50 /intern/cycles/device/device_cpu.cpp
parentd70497cefc0921a70d3a6179af7df58bb55f974c (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.cpp6
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);
}
}