Hi All,
I am calling clutter_texture_new_from_file like this

texture = clutter_texture_new_from_file ("texture.png", NULL);
clutter_actor_set_position (texture, 50, 50);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), texture);
clutter_actor_show (texture);

Nothing unusual there right?
For some reason though the image renders as black. The image I am trying to
show is a png with 100% opacity, the same occurs when I try and load a bmp.
If I load an image with translucent pixels it is loaded as expected. Adding
a line of pixels that are all transparent to the png works around the
problem but I just wondered if anyone knew what I might be doing wrong or if
this is a bug?
Incidentally I am currently working on OS X using the Quartz back end.

Cheers,
Jack

Reply via email to