[−][src]Function khronos_egl::create_context
pub fn create_context(
display: Display,
config: Config,
share_context: Option<Context>,
attrib_list: &[Int]
) -> Result<Context, Error>
Create a new EGL rendering context.
This will return a BadParameter
error if attrib_list
is not a valid
attributes list (if it does not terminate with NONE
).