delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/13/06:47:50

Date: Wed, 13 Dec 2000 13:41:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sahab Yazdani <sahaby AT operamail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: ANNOUNCE: GRFX2 Gaming Library
In-Reply-To: <3A369365.9040700@operamail.com>
Message-ID: <Pine.SUN.3.91.1001213134044.11254S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 12 Dec 2000, Sahab Yazdani wrote:

> >> KNOWN BUGS:
> >>   - FloodFills cause GPF
> > 
> > 
> > Did you implement FloodFill as a recursive function?  If so, you might
> > be blowing the stack due to too deep recursion.  Post the full crash
> > message, if you cannot figure this out; section 12.2 of the FAQ might
> > help you solve this.
> 
> it is a stack problem, i know that for a fact, i just didn't write it 
> cuz I didn't think that people would want to know the nitty-gritties of 
> the bug....  just as a side note:  is there another way to implement a 
> Flood Fill??

There's a way of making it much less recursive, yes.  I did that once
(every book on graphics that's worth its cover should describe those
algorithms), so I can send you the code if you want.

- Raw text -


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