Am I missing something obvious? iOS development

Hmmm… so, if I’ve drawn 50 various colored rectangles, and I want to draw a new rectangle…

I have to:

  • SDL_RenderClear()
  • re-draw the previous 50 rectangles
  • draw the new rectangle

and then SDL_RenderPresent() ?