0 Members and 1 Guest are viewing this topic.
I found out that nSDL_GetPixel(SDL_Surface*, int, int) is incompatible with surfaces loaded with SDL_LoadBMP(char*) it works with images loaded by IMG_Load(char*) though.
No, it's a classical 24-bits bitmap.
Returns the pixel's color at (x, y). Assumes the surface has been locked. Does no clipping. Supports 8-, 16- and 32-bit surfaces.