Apple gl compatibility