[−][src]Function khronos_egl::create_platform_window_surface
pub fn create_platform_window_surface(
display: Display,
config: Config,
native_window: *mut c_void,
attrib_list: &[Attrib]
) -> Result<Surface, Error>
Create a new EGL on-screen rendering surface.
Note that the constant ATTRIB_NONE which has the type Attrib can be used
instead of NONE to terminate the attribute list.
This will return a BadParameter error if attrib_list is not a valid
attributes list (if it does not terminate with ATTRIB_NONE).