def eglInitialize(display):
 majorVersion = (_c_int * 1)()
 minorVersion = (_c_int * 1)()
 res = _lib.eglInitialize(display, majorVersion, minorVersion)
 if (res == EGL_FALSE):
  raise RuntimeError('Could not initialize')
 return (majorVersion[0], minorVersion[0])

def eglInitialize ( display ) : majorVersion = ( _c_int * 1 ) ( ) minorVersion = ( _c_int * 1 ) ( ) res = _lib . eglInitialize ( display , majorVersion , minorVersion ) if ( res == EGL_FALSE ) : raise RuntimeError ( 'Could not initialize' ) return ( majorVersion [ 0 ] , minorVersion [ 0 ] )
initialize egl and return egl version tuple .