Disable screen saver while running.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user