- get-renderer windowprocedure
Return the renderer associated with the given sdl2:window. See SDL_GetRenderer. This procedure is available in sdl2 egg version 0.2.0 and higher.
NOTE: The returned renderer will be a new sdl2:renderer record pointing to the address of the existing renderer. It will be equal? 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.