Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE301517455@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Allegro autodetect Date: Mon, 26 Jul 1999 10:10:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com 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.