call CreateGraphicsWindow when needed
This commit is contained in:
@@ -263,6 +263,9 @@ void GraphicsWindow::CreateGraphicsWindow( const VideoModeParams &p )
|
|||||||
* window. */
|
* window. */
|
||||||
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p )
|
void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p )
|
||||||
{
|
{
|
||||||
|
if( g_hWndMain == NULL )
|
||||||
|
CreateGraphicsWindow( p );
|
||||||
|
|
||||||
ASSERT( g_hWndMain );
|
ASSERT( g_hWndMain );
|
||||||
|
|
||||||
/* Update the window title. */
|
/* Update the window title. */
|
||||||
|
|||||||
Reference in New Issue
Block a user