Mail Archives: djgpp/1999/07/26/05:09:34
Steven Taylor writes:
>> Hi! Just wondering why allegro's set_gfx_mode won't autodetect the
>> nVidia Riva TNT...?
>
> What you want to do is, instead of autodetecting, get your program to try
> different drivers, starting from the best to the worst.
But that's exactly what autodetecting does! You don't gain anything by
writing all that code yourself, other than a larger source file and
a less flexible implementation than the one in allegro/src/graphics.c.
To the original poster: please give more info about what you mean
by "won't autodetect". The only reasons I can think for this is
that you are trying to use a mode which your VESA driver doesn't
support (check what the vesainfo program says), or perhaps that
you've told Allegro to use an incorrect driver in your allegro.cfg.
Shawn Hargreaves.
- Raw text -