I can set the background displayed to blue just fine using Clear(sf::Color(0,0,255)).
I'm trying to set a shape's color to blue by using the Shape::SetColor method as follows:
crit.getShape().SetColor(sf::Color(0,0,255));
crit is an object that has a sf::Shape member variable, accessed by the following function:
sf::Shape& Critter::getShape()
{
return shape;
}
and shape is instantiated in the object's constructor as follows:
shape = sf::Shape::Circle(0, 0, 15, sf::Color(128, 128, 0, 255));
When I try to set the shape's color to blue, it yields a black circle. If I set it to (0,0,255,123) it yields a grey circle when viewed against a white background.
Is there some blending mode of the Shape that is interfering with my attempt?
(255,0,0) yields red
(0,255,0) yields green
(0,0,255) yields black :?:
(255,255,0) and (255,255,0) both yield yellow :!:
This seems to indicate to me there's some sort of masking going on that is ignoring blue component, but i have no idea where to look for this