Mail Archives: djgpp/1999/07/26/05:09:34

Message-ID: <>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
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)
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.

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019