Replaced powf to (float)pow in zblur.c. Was giving problems with MSVC (the rest of...
[blender.git] / source / blender / render / intern / source / zblur.c
index 4cb1e010e8331c868af57fcf38a0219f9d59d14f..5432e78b1445f72e63d53f6ecb60800707ef4928 100644 (file)
@@ -267,7 +267,7 @@ static void imgf_gamma(Image *src, float gamma)
        i = 4 * src->x * src->y;
        to= (float *) src->data;
        while(i--) {
-               *to = powf(*to, gamma); 
+               *to = (float)pow(*to, gamma); 
                to++;
        }
 }