Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
sf::imge and RGBA order?
Print
Pages: [
1
]
Author
Topic: sf::imge and RGBA order? (Read 1365 times)
0 Members and 1 Guest are viewing this topic.
Mars_999
Full Member
Posts: 103
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!
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
sf::imge and RGBA order?