SFML community forums

Bindings - other languages => D => Topic started by: pataroose on December 28, 2013, 05:26:24 am

Title: Issues with Sprite.color
Post by: pataroose on December 28, 2013, 05:26:24 am
Sprite spr = new Sprite();
spr.color = Color(123, 123, 123);
writeln(spr.color);

The code above prints out a color with the default 255 for all values. I've poked around DSFML's source code and it's not readily apparent why this is happening, but it seems that, for me at least, the entire feature is broken; colorization simply does not work. I am using the latest build.

Any ideas as to what's going on / how to fix? Thanks.
Title: Re: Issues with Sprite.color
Post by: Jebbs on December 28, 2013, 06:55:47 am
Yep, definitely missed this.

Found the reason for it, and just uploaded a fix.