Disable screen saver while running.

This commit is contained in:
Steve Checkoway
2006-06-11 12:10:52 +00:00
parent 9f6e26da47
commit 80218aa4dc
@@ -458,6 +458,9 @@ void LowLevelWindow_Cocoa::SwapBuffers()
void LowLevelWindow_Cocoa::Update()
{
// Keep the system from sleeping or the screen saver from activating.
UpdateSystemActivity( IdleActivity );
LockMutex lock( g_ResizeLock );
if( likely(!g_bResized) )
return;