Re: [AD] Bug in polygon3d? (was: DGA 2.0 driver completed)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



Michael Bukin wrote:
> 
> "Bertrand Coconnier" <bcoconni@xxxxxxxxxx> writes:
> 
> > Yes, sure ! But this is really the only difference between the old GRGB code
> > and mine. I still have some segmentation faults and they seem to be *really*
> > random. Sometimes it works fine, sometimes it doesn't. I really don't
> > understand a thing !!!
> 
> In polygon3d[_f] it might add only one edge (or no edges at all?),
> then it will try to "close the double-linked list", which might not
> work correctly, and I don't know what would happen in drawing code.

I tried the new code at school (WindowsNT 4, MSVC 6 debugger), and all
examples that use polygon3d[_f] give corrupt *heap* on exit (actually,
VC reports this on exit, so it may happen sooner). Other examples work
fine. In ex3d, the wireframe works fine; I don't get any problems on
exit. But if I use any other modes, then I (radomly) get heap
corruption. I'll look into this this week.

--

- Robert J Ohannessian



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/