Message-ID: From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Allegro problems Date: Thu, 26 Mar 1998 09:47:04 -0000 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk Dan Chak writes: > from: > if (!set_gfx_mode(GFX_AUTODETECT, 800, 600, 0, 0)) { > cout << allegro_error << endl; > // exit(1); > } > > I recieve "MODEX only supports 8 bit color" You've got that test the wrong way round: these functions return zero on success, or non-zero to indicate an error... Shawn Hargreaves.