www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/09:22:15

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: RE: allegro rectfill problem..
Date: Tue, 4 Aug 1998 14:22:26 +0100
Message-ID: <000701bdbfaa$ec2d9e00$ec4b08c3@arthur>
MIME-Version: 1.0
Importance: Normal
In-Reply-To: <01bdbf51$e6ea1a80$ddba56d1@livivie.pinecrest.edu>

> 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?

Have you used create_bitmap()? Otherwise you're just writing onto an unknown area of
memory.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019