git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@69460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (g > 255) g = 255; if (g < 0) g = 0;
if (b > 255) b = 255; if (b < 0) b = 0;
if (a > 255) a = 255; if (a < 0) a = 0;
- if (r > a) r = a;
- if (g > a) g = a;
- if (b > a) b = a;
+ if (r > a)
+ {
+ r = a;
+ ERR("Evas only handle pre multiplied color !");
+ }
+ if (g > a)
+ {
+ g = a;
+ ERR("Evas only handle pre multiplied color !");
+ }
+ if (b > a)
+ {
+ b = a;
+ ERR("Evas only handle pre multiplied color !");
+ }
if (evas_object_intercept_call_color_set(obj, r, g, b, a)) return;
if (obj->smart.smart)