Date: Thu, 5 Nov 1998 13:59:07 -0500 (EST) Message-Id: <199811051859.NAA21543@indy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (message from Paul Richards on Thu, 5 Nov 1998 18:47:16 +0000) Subject: Re: Allegro vsync stuff Reply-To: djgpp AT delorie DOT com At 300 fps, what you could do is check the vsync bit for each frame, and only redraw if the bit is set, else if 10 frames go by and you don't see the bit, redraw anyway. Or, use the vsync interrupt to set a flag that says "redraw this time" then reset the flag when you redraw. If you recalculate and the flag isn't set, just skip the redraw and recalculate again.