| delorie.com/archives/browse.cgi | search |
| Message-ID: | <34D156E8.EE4F80E6@csun.edu> |
| Date: | Thu, 29 Jan 1998 20:28:24 -0800 |
| From: | Ryan Bright <rmb56313 AT csun DOT edu> |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Allegro Bitmap Warnings |
| References: | <199801300018 DOT NAA24254 AT cirrostratus DOT netaccess DOT co DOT nz> |
| NNTP-Posting-Host: | s253n110.csun.edu |
| Organization: | California State University, Northridge |
| Lines: | 19 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Richard Chappell wrote:
>
> Why is that, using Allegro, I get a warning for the line:
>
> bmp=load_bmp("bmp/welcome.bmp",pal);
>
"BITMAP *load_bmp(char *filename, RGB *pal);"
Therefore, bmp MUST be defined as :
BITMAP *bmp;
and pal MUST either be defined
PALETTE pal;
or
RGB pal[256];
-Ryan
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |