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

Author Topic: sf::imge and RGBA order?  (Read 1053 times)

0 Members and 1 Guest are viewing this topic.

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
sf::imge and RGBA order?
« on: May 27, 2011, 06:50:57 pm »
I am uploading the pixel data to OpenGL using sf::Image. Does sf::Image always have a RGBA order? If so then I am assuming SOIL or somewhere swaps the BGRA to RGBA for you?

Thanks!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
sf::imge and RGBA order?
« Reply #1 on: May 27, 2011, 11:47:35 pm »
Quote
Does sf::Image always have a RGBA order?

Yes.
Laurent Gomila - SFML developer