New answers tagged


Looking at the source code, while the window does seem to know about the renderer associated with it, there does not seem to be any kind of call to the renderer layer of SDL from the implementation of SDL_DestroyWindow, so you'll need to simply call SDL_DestroyRenderer yourself.

Top 50 recent answers are included