I'm starting with SDL2 and and having some trouble trying to conver SDL_renderer to SDL_window. How I can convert SDL_rnderer to SDL_window exactly?
0
votes
2 Answers
2
votes
You cannot, they are different structures.
Anyway, you can create a SDL_Renderer for a given SDL_Window by means either of the SDL_CreateRenderer method or the SDL_CreateWindowAndRenderer method.