c++ - Fill_Rect in SDL -
i got question sdl_fillrect.
normally function work that: sdl_fillrect(screen, &screen->clip_rect, color);
my question is, instead of passing single color, can fill rect multiple color contain different red, blue, , green channel of pixel?
how go determining color pattern? think closest gonna sdl_blitsurface
. pattern surface , blit onto surface.