
13 Jan
2010
13 Jan
'10
3:36 p.m.
Hi Eloi, for performance reasons gil is not initializing the array
with a default value. Also, I wouldn't trust the compiler to do
anything special since it might be different from platform to
platform. Just call fill_pixels which in your case ( rgb32f_image_t )
should be reduced to a memset call.
Regards,
Christian
On Wed, Jan 13, 2010 at 7:37 AM, Eloi Du Bois
Hi all !
I would like to know, when creating an image like that: rgb32f_image_t img(w, h);
is the image filled with 0 by default or should I call fill_pixels ?
Thank you ! Eloi.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users