* Fix a typo in code.
authorThomas Dinges <blender@dingto.org>
Wed, 17 Jul 2013 21:25:44 +0000 (21:25 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 17 Jul 2013 21:25:44 +0000 (21:25 +0000)
intern/cycles/kernel/kernel_light.h

index 4983122fb346b2f2a11dcd5042b6f98be99528c7..5091eac41db6f4a34ee93de0fa11129161a2f767 100644 (file)
@@ -271,7 +271,7 @@ __device void lamp_light_sample(KernelGlobals *kg, int lamp,
                        ls->pdf = invarea;
 
                        if(type == LIGHT_SPOT) {
-                               /* spot light attentuation */
+                               /* spot light attenuation */
                                float4 data2 = kernel_tex_fetch(__light_data, lamp*LIGHT_SIZE + 2);
                                ls->eval_fac *= spot_light_attenuation(data1, data2, ls);
                        }