delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/18/00:57:17

Sender: nate AT cartsys DOT com
Message-ID: <37915E8D.129F9D50@cartsys.com>
Date: Sat, 17 Jul 1999 21:56:45 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: still got double buffering prob. in 13h mode.
References: <3 DOT 0 DOT 1 DOT 32 DOT 19990717221624 DOT 0069d798 AT apiitkl DOT edu DOT my> <3 DOT 0 DOT 1 DOT 32 DOT 19990718114743 DOT 0069e438 AT apiitkl DOT edu DOT my>
Reply-To: djgpp AT delorie DOT com

Mark wrote:
> 
> Hi,
> 
> I added the memset(double_buffer,0,320*200) before I draw to my buffer but
> still gives me garbage instead of a single red dot at position (10,10).
> 
> Any idee what goes wrong ?
> (source below)

>    movedata(_my_ds(),*double_buffer,screen,0,320*200);

Whoops-- should be plain `double_buffer'.  The arg is supposed to be a
pointer.

>    getch();
>    mode(0x03);
> }
> 

-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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