From 972cb25f974e5ceb57d508fff7b78f7dd8d4eb1d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 13 Feb 2007 06:09:46 +0000 Subject: [PATCH] when creating a new window for the first time, we have a new device --- stepmania/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp index 8f01bbb12c..1365798217 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp @@ -135,6 +135,7 @@ RString LowLevelWindow_Win32::TryVideoMode( const VideoModeParams &p, bool &bNew /* No. Always create and show the window before changing the video mode. * Otherwise, some other window may have focus, and changing the video mode will * cause that window to be resized. */ + bNewDeviceOut = true; GraphicsWindow::CreateGraphicsWindow( p ); } else { /* We already have a window. Assume that it's pixel format has already been