native_display
# Setup the EGL display for the given `native_display`
protected fun setup_egl_display(native_display: Pointer)
do
var egl_display = new EGLDisplay(native_display)
assert egl_display.is_valid else print "new EGL display is not valid"
egl_display.initialize
assert egl_display.is_valid else print "EGL initialize error: {egl_display.error}"
self.egl_display = egl_display
end
lib/gamnit/egl.nit:36,2--46,4