This commit is contained in:
Glenn Maynard
2006-02-08 03:43:49 +00:00
parent 4b09a38d36
commit fa1dec128f
2 changed files with 0 additions and 13 deletions
-1
View File
@@ -9,7 +9,6 @@
#include "RageTextureManager.h"
#include "RageMath.h"
#include "RageTypes.h"
#include "StepMania.h"
#include "RageSurface.h"
#include "RageSurfaceUtils.h"
#include "EnumHelper.h"
@@ -1,6 +1,5 @@
#include "global.h"
#include "GraphicsWindow.h"
#include "StepMania.h"
#include "ProductInfo.h"
#include "RageLog.h"
#include "RageUtil.h"
@@ -82,18 +81,7 @@ static LRESULT CALLBACK GraphicsWindow_WndProc( HWND hWnd, UINT msg, WPARAM wPar
* because that's where most other apps seem to do it. */
if( g_bHasFocus && !bHadFocus )
{
// Set the video mode through DISPLAY instead of ChangeDisplaySettings
// so that the viewport is correctly reset.
#if 1
ChangeDisplaySettings( &g_FullScreenDevMode, CDS_FULLSCREEN );
#else
bool bNewDevice;
VideoModeParams p;
StepMania::GetPreferredVideoModeParams( p );
DISPLAY->SetVideoMode( p, bNewDevice );
#endif
ShowWindow( g_hWndMain, SW_SHOWNORMAL );
}
else if( !g_bHasFocus && bHadFocus )