- rw-from-file filepathprocedure
See SDL_RWFromFile.
You should close the sdl2:rwops when you are done with it, using rw-close! or one of the procedures that can automatically close the sdl2:rwops, such as load-bmp-rw.
Signals an exception of kind (exn sdl2) if an error occurs.