[maemo-developers] SDL, pixel format and little endian issue
From: Guillem Jover guillem.jover at nokia.comDate: Fri Sep 5 17:30:35 EEST 2008
- Previous message: SDL, pixel format and little endian issue
- Next message: seeking help for starting browser application in a minimized fashion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2008-09-01 at 16:27:55 +0300, ext Michael Stepanov wrote: > SDL_GetRGB((Uint32)Pixel, m_pScreenImage->format, &red, &green, &blue); > But now I have to fill pink pixel by specified color. And as I understand I > should convert that color from 32bit to 16bit? How can I do it? You can use SDL_MapRGB. regards, guillem
- Previous message: SDL, pixel format and little endian issue
- Next message: seeking help for starting browser application in a minimized fashion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]