From: "JCx" 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 Precedence: bulk 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