Backporting to GLESv3