| www.delorie.com/archives/browse.cgi | search |
| Message-ID: | <D1FB30BBA491D1118E6D006097BCAE391BE9A2@Probe-nt-2a.Probe.co.uk> |
| From: | Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk> |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: Allegro problems |
| Date: | Thu, 26 Mar 1998 09:47:04 -0000 |
| MIME-Version: | 1.0 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |