pragmatism first

SDL_GETRGB(3) - manual page | Library functions

Get RGB values from a pixel in the specified pixel format.

Loading manual page ...