Re: [AD] Bug when attempting to set GFX_AUTODETECT_WINDOWED in the DOS version of Allegro.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


--- Andrei Ellman <ae-a-alleg@xxxxxxxxxx>
wrote:

> When I run the following line from a program
> compiled with the DOS 
> version of Allegro 4.2 (compiled with DJGPP):
> 
> set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0,
> 0);       
> 
> the program has been known to crash with a SIGILL
> error (illegal 
> instruction). My guess is that because on DOS there
> are no windowed 
> modes, the pointer in some vtable or other is set to
> a dodgy address.

This returns -1 for me. Do you have an allegro.cfg
file  with gfx_card* variables set?





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/