delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/11/17:51:45

From: chyn0610 AT ms49 DOT url DOT com DOT tw (Lin)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro and GFX cards problem
Date: Mon, 11 Dec 2000 22:43:33 GMT
Organization: DCI HiNet
Lines: 21
Message-ID: <3a34d35d.3354380@netnews.hinet.net>
NNTP-Posting-Host: h190.s140.ts31.hinet.net
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

the piece of code

int hw;
allegro_init();
set_gfx_mode(AUTODETECT,800,600,0,0);
hw=gfx_capabilities;      /* this is an allegro's extern int status to
show the gfx hardware capabilities */
allegro_exit();
printf("%x\n",hw);


the excution result:

In an S3-968 gfx card I get 37ff9,
In an s3-775 (trio64 v2)  I get 1
In a TNT nVidia I get 1

Why  Allegro can't detect the acceleration capabilities of a trio64 v2
or the TNT nVidia ? 

 E-mail: chyn0610 AT ms49 DOT url DOT com DOT tw

- Raw text -


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