Mail Archives: djgpp/1997/10/14/15:17:30
Gautam N. Lad (gautam AT interlog DOT com) wrote:
: >Did you set_gfx_mode first? Did the call to set_gfx_mode succeed? I expect
: >one of those is your problem. :)
: Yes. I was in graphics mode (set using the GFX_AUTODETECT). RIght after
: graphics system was init., I called the function, and I get a GPF.
But did the call succeed? set_gfx_mode returns 0 on success, negative on
error. After calling it you should check its return value, and if it was
negative report the error stored in allegro_error.
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -