Changed intialization of egl_state struct