Re: [AD] rotate.c hang fix

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


Hello Kalle,
Thanks for your bug report. Do you have a specific test case (i.e., coordinates given to the function) where this call fails? Try adding

   al_trace("w:%d h:%d %d %d %d %d %d %d %d %d %d %d\n",
             bmp->w, bmp->h, spr->w, spr->h,
             xs[0], xs[1], xs[2], xs[3],
             ys[0], ys[1], ys[2], ys[3]);

to the beginning of _parallelogram_map, run your program, and read the last line from allegro.log. This would be useful to understand exactly why the bug happens, and why your patch fixes it. (which is necessary to know because there ought to be at least one more place to patch). Thank you,

--
Sven Sandberg





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