when creating a new window for the first time, we have a new device

This commit is contained in:
Glenn Maynard
2007-02-13 06:09:46 +00:00
parent 5b4a7a6ac8
commit 972cb25f97
@@ -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