[][src]Function egls::apis::initialize

pub fn initialize(
    dpy: EGLDisplay,
    major: &mut EGLint,
    minor: &mut EGLint
) -> Result<bool, Error>

Initialize an EGL display connection.

Parameters

  • display - Specifies the EGL display connection to initialize.
  • major - Returns the major version number of the EGL implementation. May be NULL.
  • minor - Returns the minor version number of the EGL implementation. May be NULL.