added DisplayDevice-Backwards-compatibility-with-old-EGL patch for carbon