merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing)

This commit is contained in:
Glenn Maynard
2006-01-15 01:05:43 +00:00
parent 669339a57f
commit 2de99a1d59
@@ -263,6 +263,8 @@ static void CreateGraphicsWindow( const VideoModeParams &p )
* window. */
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
{
g_CurrentParams = p;
if( g_hWndMain == NULL || bForceRecreateWindow )
CreateGraphicsWindow( p );