[SDL] SDL_Surface and RGBA array

ALakazam shd at bk.ru
Fri Aug 29 10:51:02 PDT 2003


How I can to convert SDL_Surface to RGBA array? I know there is SDL_GetRGBA
function, but how I can to extract pixel (Uint32 pixel for SDL_GetRGBA) with
some
coordinates from surface?

Thx!








More information about the SDL mailing list