[go: up one dir, main page]

init

Function init 

Source
pub fn init(flags: InitFlag) -> Result<Sdl2MixerContext, String>
Expand description

Loads dynamic libraries and prepares them for use. Flags should be one or more flags from InitFlag. Returns error if any of the requested flags failed