Hi, I have a BMP file in format ARGB.
I found the SDL APIs for RGBA format.
so how can I load and display the same.
- Raja
Hi, I have a BMP file in format ARGB.
I found the SDL APIs for RGBA format.
so how can I load and display the same.
Hi, I have a BMP file in format ARGB.
I found the SDL APIs for RGBA format.
Don’t worry about that. You won’t need to mess with, or even care
about actual pixel formats, unless you’re going to lock surfaces and
do s/w rendering into them.
so how can I load and display the same.
Just load it. SDL will convert it, or just deal with it as is.
Normally, you should use SDL_DisplayFormat*(), but that’s just about
performance; results should be correct either way.
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,… |
`-----------------------------------> http://audiality.org -’
— http://olofson.net — http://www.reologica.se —On Tuesday 27 January 2004 04.26, Raja Saleru wrote: