pub fn to_gl_version(&self) -> Option<(u8, u8)> {
        match self {
            &GlRequest::Specific(Api::OpenGl, opengl_version) => {
                Some(opengl_version)
            }
            &GlRequest::GlThenGles { opengl_version, .. } => {
                Some(opengl_version)
            }
            _ => None,
        }
    }
/// Extract the desktop GL version, if any.
Extract the desktop GL version, if any.
Extract the desktop GL version if any .
pub fn to_gl_version(&self) -> Option<(u8, u8)> {
        match self {
            &GlRequest::Specific(Api::OpenGl, opengl_version) => {
                Some(opengl_version)
            }
            &GlRequest::GlThenGles { opengl_version, .. } => {
                Some(opengl_version)
            }
            _ => None,
        }
    }
pub fn to_gl_version ( & self ) -> Option < ( u8 , u8 ) > { match self { & GlRequest :: Specific ( Api :: OpenGl , opengl_version ) => { Some ( opengl_version ) } & GlRequest :: GlThenGles { opengl_version , .. } => { Some ( opengl_version ) } _ => None , } }
Extract the desktop GL version, if any.
Extract the desktop GL version if any .
&self