Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 1.6 Colour Issue?  (Read 2894 times)

0 Members and 1 Guest are viewing this topic.

Joshua Flynn

  • Full Member
  • ***
  • Posts: 133
    • View Profile
SFML 1.6 Colour Issue?
« 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:





Why is SFML displaying it as green rather than yellow?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 1.6 Colour Issue?
« Reply #1 on: September 01, 2012, 08:58:25 am »
Please show us a complete and minimal code that reproduces the problem.
Laurent Gomila - SFML developer

Joshua Flynn

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Re: SFML 1.6 Colour Issue?
« Reply #2 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?!

Contadotempo

  • Full Member
  • ***
  • Posts: 167
  • Firelink Shrine
    • View Profile
Re: SFML 1.6 Colour Issue?
« Reply #3 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/

 

anything