Function sdl2_sys::SDL_SetMainReady

source ·
pub unsafe extern "C" fn SDL_SetMainReady()
Expand description

This is called by the real SDL main function to let the rest of the library know that initialization was done properly.

Calling this yourself without knowing what you’re doing can cause crashes and hard to diagnose problems with your application.