2.5 Material:
[blender-staging.git] / source / blender / render / intern / source / rendercore.c
index deb6f0db74381ebd26b282612000ab7701615bb7..27dd43a4ef9e56c3b5938ad45424fea4803bd0ee 100644 (file)
@@ -703,7 +703,7 @@ static void atm_tile(RenderPart *pa, RenderLayer *rl)
                        for(sample=0; sample<totsample; sample++) {
                                float *zrect= RE_RenderLayerGetPass(rlpp[sample], SCE_PASS_Z) + od;
                                float *rgbrect = rlpp[sample]->rectf + 4*od;
-                               float rgb[3];
+                               float rgb[3] = {0};
                                int done= 0;
                                
                                for(go=R.lights.first; go; go= go->next) {