delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/16/10:53:40

From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: Bad Flicker
Date: Fri, 16 Oct 1998 15:49:44 +0100
Message-ID: <000a01bdf914$369a83c0$9d4b08c3@arthur>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <3626B192.AB909352@mindspring.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Reply-To: djgpp AT delorie DOT com

Or whack a vsync() in your main loop.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819 

> The reasonf or the flicker, is the screen clear.  When you clear 
> the screen
> there is a little frame that is all black or whatever.  If you do 
> this once it
> probably wouldn't be noticed, but when you do it every other 
> frame, it sticks
> out like a sore thumb.  Simply put: don't clear the screen that often.
> 
> Derek Greene
> 
> Jameson wrote:
> 
> > I am trying to make a program that utilises allegro's GFX 
> abilities,but I
> > have a terrible flicker because I make the program clear the 
> screen every
> > frame.Does anyone know how to prevent this??Or even another way 
> to do it??
> 
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019