[][src]Function opencv::highgui::set_opengl_context

pub fn set_opengl_context(winname: &str) -> Result<()>

Sets the specified window as current OpenGL context.

Parameters

  • winname: Name of the window.