What is difference between these two functions:
SDL_FillRect VS SDL_RenderFillRect
SDL_FillRect() operates on a SDL_Surface completely CPU-side, SDL_RenderFillRect() operates on a SDL_Renderer and may or may not be hardware accelerated depending on how the SDL_Renderer was created.
SDL_FillRect()
SDL_Surface
SDL_RenderFillRect()
SDL_Renderer
1.4m articles
1.4m replys
5 comments
57.0k users