Hmm. I can look into this tonight of you want.
On 25/02/2013 3:17 PM, "Sascha Montellese" <notifications@github.com> wrote:

> In xbmc/Application.cpp:
>
> > @@ -914,13 +914,15 @@ bool CApplication::InitWindow()
> >    }
> >  #endif
> >
> > +  // set GUI res and force the clear of the screen
> > +  // do this first because SetViewResolution will create an OpenGL context
> > +  // and then we can init the render system from there
> > +  g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution);
>
> Don't have time right now for a closer look but IIRC there's kind of a
> chicken-egg problem in this area where
> g_guiSettings.m_LookAndFeelResolution depends on the rendering system
> already being initialised to be able to choose from a list of available and
> valid resolutions and the fact that the rendering system needs to know
> about the resolution to use. It popped up once after @theuni<https://github.com/theuni>refactored some of the "run headless" stuff.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/xbmc/xbmc/pull/2303/files#r3131350>.
>
>