Function cgl_rs::init

source ·
pub fn init() -> Result<(), ()>
Expand description

Initializes the CGL library.

This function must be called before any other CGL functions are called.

Returns

Returns Ok(()) if the initialization was successful, otherwise returns Err(()).