- get-renderer windowprocedure
Return the renderer associated with the given sdl2:window. See SDL_GetRenderer.
Note: The returned renderer will be a new sdl2:renderer record pointing to the address of the existing renderer. It will be struct-eq? to other sdl2:renderer records for the same renderer, but not eq?.
Signals an exception of kind (exn sdl2) if the window does not have a renderer, or if an error occurs.
Requires sdl2 egg 0.2.0 or higher.