Do anybody know about this mapping in the SDL_MapRGB
SDL_MapRGB(screen->format, R, G, B)
The screen is my SDL_Surface.
Does this define only a single color. The RGB are Uint8 type and I set them As I wish from 0-256.
Uint32 color = SDL_MapRGB(screen->format, R, G, B);
i don't understand the -> operator exactly in this line??