[−][src]Function sdl2::image::init
pub fn init(flags: InitFlag) -> Result<Sdl2ImageContext, String>
Initializes SDL2_image
with InitFlags
.
If not every flag is set it returns an error
pub fn init(flags: InitFlag) -> Result<Sdl2ImageContext, String>
Initializes SDL2_image
with InitFlags
.
If not every flag is set it returns an error