delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/11/17:01:29

From: gautam AT interlog DOT com (Gautam N. Lad)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: clear_to_color()
Date: Sat, 11 Oct 97 18:29:37 GMT
Organization: InterLog Internet Services
Lines: 30
Message-ID: <61og7g$hm6$1@news.interlog.com>
References: <61oa8b$9vg$1 AT news DOT interlog DOT com> <61oclb$li3$2 AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: ip220-186.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
   mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) wrote:
>: 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); ).
>
>Yes, it is. You can only use it when you're in a graphics mode though.

Well, I'm in a graphics mode.

>: When I did this:
>: clear_to_color(screen,WHITE);
>: I get a GPF.  Why?  Isn't a screen a BITMAP *?
>
>Did you set_gfx_mode first? Did the call to set_gfx_mode succeed? I expect
>one of those is your problem. :)

Yes.  I was in graphics mode (set using the GFX_AUTODETECT).  RIght after 
graphics system was init., I called the function, and I get a GPF.

Is it a bug?
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