Mail Archives: djgpp/1998/08/04/14:00:33
In article <01bdbf51$e6ea1a80$ddba56d1 AT livivie DOT pinecrest DOT edu>,
"Mark Haase" <savar AT mindspring DOT com> wrote:
> ok, i'm having this problem with allegro's rectfill function..
>
> i do this:
> BITMAP *bmp;
> cwhite=makecol(255,255,255);
> rectfill(bmp,1,1,10,10,cwhite);
>
> and i get a return of 255 from the program and a sigsev saying that its
> shutting down allegro. i am sure its that particular line, so whats wrong
> with it?
Well, you declared a _pointer_ to a BITMAP... but where did you allocated
it?!? I don't remember its name, but there must be some function that let you
allocate a BITMAP with the proper dimensions...
Hope this can help,
Flavio.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
- Raw text -