fixed: don't change the resolution until after the first call to SDL_SetVideoMode...
authorbobo1on1 <bobo1on1@svn>
Thu, 30 Sep 2010 15:29:06 +0000 (15:29 +0000)
committerbobo1on1 <bobo1on1@svn>
Thu, 30 Sep 2010 15:29:06 +0000 (15:29 +0000)
commit3b53bfb1dc398229424f6998945b3964107ce04d
treef4b883e8d7064a10f8126be9834ab793633623a8
parenta6cf88fa34f4097d6c0e1e8d76b3192ec86904b1
fixed: don't change the resolution until after the first call to SDL_SetVideoMode(), SDL stores the current resolution on its first call, and restores that resolution on SDL_Quit(), if we change the resolution before the first call to SDL_SetVideoMode(), SDL restores the wrong resolution on SDL_Quit()

(cherry picked from commit ae7eca72dcf58d6b2021bffa5fbd47e5a6ebad37)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34334 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/WinSystemX11.cpp
xbmc/WinSystemX11.h