cleanup
This commit is contained in:
@@ -241,8 +241,8 @@ void GraphicsWindow::ConfigureGraphicsWindow( const VideoModeParams &p, bool bFo
|
|||||||
RageException::Throw( "%s", werr_ssprintf( GetLastError(), "CreateWindow" ).c_str() );
|
RageException::Throw( "%s", werr_ssprintf( GetLastError(), "CreateWindow" ).c_str() );
|
||||||
|
|
||||||
/* If an old window exists, transfer focus to the new window before deleting
|
/* If an old window exists, transfer focus to the new window before deleting
|
||||||
* it, or some other window may temporarily get focus, which can cause it
|
* it, or some other window may temporarily get focus, which can cause it
|
||||||
* to be resized. */
|
* to be resized. */
|
||||||
if( g_hWndMain != NULL )
|
if( g_hWndMain != NULL )
|
||||||
{
|
{
|
||||||
/* While we change to the new window, don't do ChangeDisplaySettings in WM_ACTIVATE. */
|
/* While we change to the new window, don't do ChangeDisplaySettings in WM_ACTIVATE. */
|
||||||
|
|||||||
Reference in New Issue
Block a user