gl: Support hidpi