Get the renderer associated with a window.
Defined in <SDL3/SDL_render.h>
window | the window to query |
Returns the rendering context on success or NULL on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.