SFML community forums

Help => Graphics => Topic started by: Mars_999 on May 27, 2011, 06:50:57 pm

Title: sf::imge and RGBA order?
Post by: Mars_999 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!
Title: sf::imge and RGBA order?
Post by: Laurent on May 27, 2011, 11:47:35 pm
Quote
Does sf::Image always have a RGBA order?

Yes.