Fix OpenCL build error.

This commit is contained in:
Brecht Van Lommel 2013-09-09 12:15:16 +00:00
parent d703f616db
commit 6c5df7567b

@ -70,7 +70,7 @@ __device void kernel_film_convert_to_half_float(KernelGlobals *kg,
/* buffer offset */
int index = offset + x + y*stride;
float4 *in = (__global float4*)(buffer + index*kernel_data.film.pass_stride);
float4 *in = (float4*)(buffer + index*kernel_data.film.pass_stride);
half *out = (half*)rgba + index*4;
float scale = kernel_data.film.exposure*sample_scale;