Re: [AD] Color depth selection in grabber

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


On Thu, 21 Dec 2000, Laurence Withers wrote:
> On SourceForge, I have submitted a patch (also available below) which
> slightly changes the way the grabber chooses a color depth. It had
> recently been changed to first set a mode use GFX_SAFE, and if that
> failed, to try specific color depths.

Yes, and that was a bloody mistake on my part :) I didn't feel radical
enough to leave GFX_SAFE alone.

> The patch I have submitted changes this behaviour so that the grabber
> first tries GFX_AUTODETECT with 32,24,16,15, then 8 bpp, and then tries
> GFX_SAFE, which seems more logical to me.

I prefer having only GFX_SAFE. Anyway, isn't it possible to override the
behaviour with switches? Or via allegro.cfg (at least for the driver)?

 Grzegorz Adam Hankiewicz   gradha@xxxxxxxxxx - http://gradha.infierno.org
 Other web pages:  http://glub.ehu.es/  -  http://welcome.to/gogosoftware/



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