Hello, Could you be more specific what are you trying todo and how? Are you going through pixelvalues and accessing them? See surface->format->BytesPerPixel. SDL_GetRGB and SDL_MapRGB should work allright.
// Tapani ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext Michael Stepanov Sent: 09 February, 2007 11:03 To: maemo-developers@maemo.org Subject: [maemo-developers] Nokia SDL color format for pixels Hi, I have a question about SDL realization for Nokia770/800. Does it use some different format to fill a pixel by some color? Because in my application SDL is used to change color of icons according to some conditions. It works fine under Linux (Debian) but it didn't work under Nokia 770 (I tried for both os2005 and os2006). The color of icon is not changed. Any ideas why? Is there some manual about Nokia port of SDL? Thanks in advance. -- Cheers, Michael _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers