fix texgen switch type
dynamically load EGL