Gracefully switch between GLES and GLES2 for iOS