delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/11:45:33

From: "JCx" <jicehix AT worldnet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro - How to detect running video mode ?
Date: Fri, 28 Aug 1998 17:30:16 +0200
Lines: 11
Message-ID: <6s6ief$37m$1@news4.isdnet.net>
NNTP-Posting-Host: p14-007.province.worldnet.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

   Hi there,

I need to know what video mode is used by Allegro, when switching in GFX
with GFX_AUTODETECT. I read the test.c program from allegro\tests directory,
and found there is a pointer to gfx_driver->name. But I cannot use a
standard comparison with GFX_VESA1 or other. How could this be done ?

   Thanks, JCx.
   jicehix AT worldnet DOT fr


- Raw text -


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