Function cgl_rs::graphics::text::shutdown

source ·
pub fn shutdown()
Expand description

Shuts down the text module

Note: This function must be called after all other text functions have been called

Example

cgl_rs::init();
let mut window = cgl_rs::Window::new("CGL Window", 800, 600).unwrap();
cgl_rs::graphics::init();
cgl_rs::graphics::text::init();
// Do stuff
cgl_rs::graphics::text::shutdown();
cgl_rs::graphics::shutdown();
window.destroy();
cgl_rs::shutdown();