Re: [AD] New mode selector, or get_gfx_mode_list(), broken [djgpp, possibly others]

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


> > Seems ok, except for the `error' part, which is bizarre.
> 
> ok, ok... consider it removed, it is a bit simpler to just check the
> returned pointer.

You could set allegro_errno anyway:
- to ENOENT if the driver is not found,
- to EPERM if the driver doesn't support mode list,
- to ENOMEM if malloc() failed,
and so on.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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