Function fltk::app::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