Mail Archives: djgpp/2000/12/13/06:47:50
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 -