Fix Checkobug 1: If we cannot go full screen unless we have focus.

This commit is contained in:
Steve Checkoway
2006-03-10 23:21:37 +00:00
parent e8ce30eb1a
commit 9e7ba6ff9d
@@ -214,7 +214,8 @@ RString LowLevelWindow_Cocoa::TryVideoMode( const VideoModeParams& p, bool& newD
ASSERT( p.bpp == 16 || p.bpp == 32 );
if( p.windowed )
// If we don't have focus, we cannot be full screen.
if( p.windowed || !HOOKS->AppHasFocus() )
{
if( bRebuildContext )
{