Why use SDL_Surface over SDL_Texture

56 views Asked by At

I understand that SDL_Textures are rendered by the GPU, whilst SDL_Surfaces are rendered by the CPU. However, I don't understand why SDL_Surfaces would be used at all, given that SDL_Textures are apparently faster than SDL_Surfaces.

If possible, can anyone explain reasons why SDL_Surfaces are better than SDL_Textures (if any) or provide situations where SDL_Surfaces are better than SDL_Textures (if any)?

0

There are 0 answers