Date: Wed, 13 Dec 2000 13:41:03 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Sahab Yazdani cc: djgpp AT delorie DOT com Subject: Re: ANNOUNCE: GRFX2 Gaming Library In-Reply-To: <3A369365.9040700@operamail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.