Function sdl2::image::init

source ยท
pub fn init(flags: InitFlag) -> Result<Sdl2ImageContext, String>
Expand description

Initializes SDL2_image with InitFlags. If not every flag is set it returns an error