wgpu_hal::gles::egl

Function choose_config

source
fn choose_config(
    egl: &DynamicInstance<EGL1_4>,
    display: Display,
    srgb_kind: SrgbFrameBufferKind,
) -> Result<(Config, bool), InstanceError>
Available on gles and neither Windows nor webgl only.
Expand description

Choose GLES framebuffer configuration.