We may not have a surface (since realizing media streams is optional), so use the display when creating a gl context.