View Full Version : Preventing screensaver in glut app
05-23-2002, 09:17 PM
How can I prevent the [Windows] screensaver from starting when running a glut-based application? I think I've read somewhere how to do it by taking care of specific windows messages in non-glut applications. Is there a similar (or different) method for glut-based applications?
05-24-2002, 01:53 AM
Not tried this yet, but according to the MSDN (msdn.microsoft.com/library), you should be able to use
SetThreadExecutionState( ES_DISPLAY_REQUIRED );
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.