delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/11/14:16:16

From: gautam AT interlog DOT com (Gautam N. Lad)
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro: clear_to_color()
Date: Sat, 11 Oct 97 16:47:39 GMT
Organization: InterLog Internet Services
Lines: 23
Message-ID: <61oa8b$9vg$1@news.interlog.com>
NNTP-Posting-Host: ip203-106.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
Ok, first of all, is the 'screen' a BITMAP *?  When I say screen, I mean what
ever is written to it, goes to the screen (eg. line(screen,10,10,400,39,5); ).

Now, I've colors defined from a DATAFILE as (etc.):
#define WHITE 	4

When I did this:

clear_to_color(screen,WHITE);

I get a GPF.  Why?  Isn't a screen a BITMAP *?

Bye!

-------------------------------------------------------------
Gautam N. Lad
-------------------------------------------------------------
E-Mail:	gautam AT interlog DOT com
Website:	http://www.interlog.com/~gautam

POV-Ray Software, Gallery, and Links!
-------------------------------------------------------------

- Raw text -


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