Hi,
After a few monthes using SDL2, I still wonder why some functions takes 4 distincts Uint8 parameters (r,g,b,a) to describe a color. Why do not they take a SDL_Color struct that can express the same four bytes ?
ex:
int SDL_SetRenderDrawColor(SDL_Renderer* renderer,
Uint8 r,
Uint8 g,
Uint8 b,
Uint8 a)