SFML community forums

Help => Graphics => Topic started by: Joshua Flynn on September 01, 2012, 02:07:24 am

Title: SFML 1.6 Colour Issue?
Post by: Joshua Flynn on September 01, 2012, 02:07:24 am
I have a sprite that loads from the image MapLayout, but on display in SFML it takes on a noticeably green tinge:

(http://www.imagesup.net/?di=713464577180)



Why is SFML displaying it as green rather than yellow?
Title: Re: SFML 1.6 Colour Issue?
Post by: Laurent on September 01, 2012, 08:58:25 am
Please show us a complete and minimal code that reproduces the problem.
Title: Re: SFML 1.6 Colour Issue?
Post by: Joshua Flynn on September 01, 2012, 08:22:40 pm
Please show us a complete and minimal code that reproduces the problem.

Argh! I am sorry Laurent... SetColor... Why do I never notice these things?!
Title: Re: SFML 1.6 Colour Issue?
Post by: Contadotempo on September 01, 2012, 08:35:14 pm
Argh! I am sorry Laurent... SetColor... Why do I never notice these things?!
He means that you must post all the relevant source code (while being minimal) that produces this glitch, like the short example shown here: http://www.sfml-dev.org/documentation/2.0/