Associate a software renderer with a window.
Defined in <SDL3/SDL_render.h>
bool SDL_SetSoftwareRendererWindow(SDL_Renderer *renderer, SDL_Window *window);| SDL_Renderer * | renderer | the rendering context. |
| SDL_Window * | window | the window where rendering is displayed. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function should be called on the thread that created the renderer.
This function is available since SDL 3.6.0.