View Full Version : Preventing screensaver in glut app
05-23-2002, 10: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, 02: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 © 2013 vBulletin Solutions, Inc. All rights reserved.