Skip to content

Commit

Permalink
X11: fix crash after a resolution change on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Dec 31, 2012
1 parent 76856d5 commit e1298b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/windowing/X11/WinSystemX11.cpp
Expand Up @@ -219,7 +219,8 @@ bool CWinSystemX11::SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool bl
OnLostDevice(); OnLostDevice();
m_bIsInternalXrr = true; m_bIsInternalXrr = true;
g_xrandr.SetMode(out, mode); g_xrandr.SetMode(out, mode);
return true; if (m_glWindow)
return true;
} }
#endif #endif


Expand Down

0 comments on commit e1298b1

Please sign in to comment.