Function sdl2::video::gl_attr::set_context_major_version [] [src]

pub fn set_context_major_version(value: u8)

Sets the attribute: OpenGL context major version