Function set_gl_visual

Source
pub fn set_gl_visual(mode: Mode) -> Result<(), FltkError>
Available on crate feature enable-glwindow only.
Expand description

Sets the OpenGL visual mode of the application

ยงErrors

Returns Err(FailedOperation) if FLTK failed to set the visual mode