diff options
Diffstat (limited to 'intern/cycles/render/light.cpp')
-rw-r--r-- | intern/cycles/render/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp index b3804f34963..2ce65ec055f 100644 --- a/intern/cycles/render/light.cpp +++ b/intern/cycles/render/light.cpp @@ -37,7 +37,7 @@ static void shade_background_pixels(Device *device, DeviceScene *dscene, int res int height = res; device_vector<uint4> d_input(device, "background_input", MEM_READ_ONLY); - device_vector<float4> d_output(device, "background_output", MEM_WRITE_ONLY); + device_vector<float4> d_output(device, "background_output", MEM_READ_WRITE); uint4 *d_input_data = d_input.alloc(width*height); |