This should fix the disappearing icon when switching video modes in Win32.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@961 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2006-01-14 23:55:23 +00:00
parent ceac36923c
commit ea105e6b0f
1 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: FrameBuffer.cxx,v 1.74 2006-01-14 21:36:29 stephena Exp $ // $Id: FrameBuffer.cxx,v 1.75 2006-01-14 23:55:23 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -85,9 +85,8 @@ void FrameBuffer::initialize(const string& title, uInt32 width, uInt32 height,
if(SDL_Init(initflags) < 0) if(SDL_Init(initflags) < 0)
return; return;
setWindowIcon();
} }
setWindowIcon();
// Erase contents of previous screen // Erase contents of previous screen
/* cls(); /* cls();