- create-renderer! window #!optional index flagsprocedure
Create a new sdl2:renderer associated with the given window. See SDL_CreateRenderer.
- window must be a sdl2:window
- index must be an integer specifying the index of the driver to initialize, or -1 to use the first driver supporting the requested flags. It defaults to -1.
- flags must be a list of zero or more renderer flag symbols. It defaults to '().
Signals an exception of kind (exn sdl2) if an error occurs.
Requires sdl2 egg 0.2.0 or higher.