[AD] [ alleg-Bugs-3292924 ] al_draw_ellipse aborts on assert scaled down with transform

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


Bugs item #3292924, was opened at 2011-04-26 16:09
Message generated for change (Tracker Item Submitted) made by carljolsson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3292924&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Addons
Group: 5.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carl Olsson (carljolsson)
Assigned to: Nobody/Anonymous (nobody)
Summary: al_draw_ellipse aborts on assert scaled down with transform

Initial Comment:
Allegro 5.1 rev 14681
Linux x86-64

al_draw_ellipse throws an assert when scaled down to near zero using an ALLEGRO_TRANSFORM.

Ideally it would draw nothing, rather than aborting.

Error message:
ellipsecrash: /home/carl/allegro/5.1/addons/primitives/high_primitives.c:421: al_calculate_arc: Assertion `num_segments > 1' failed.
Aborted
Process returned 134 (0x86)   execution time : 4.548 s

To reproduce:
In test driver zoom out repeatedly with down key.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=3292924&group_id=5665




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