merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing)
This commit is contained in:
@@ -263,6 +263,8 @@ static void CreateGraphicsWindow( const VideoModeParams &p )
|
|||||||
* window. */
|
* window. */
|
||||||
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
|
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow )
|
||||||
{
|
{
|
||||||
|
g_CurrentParams = p;
|
||||||
|
|
||||||
if( g_hWndMain == NULL || bForceRecreateWindow )
|
if( g_hWndMain == NULL || bForceRecreateWindow )
|
||||||
CreateGraphicsWindow( p );
|
CreateGraphicsWindow( p );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user