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
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to