delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/07/23:44:25

From: Brett Leslie Porter <bporter AT rabble DOT uow DOT edu DOT au>
Message-Id: <199708080343.NAA21616@rabble.uow.edu.au>
Subject: Re: Allegro question
To: Zoma AT sprynet DOT com (Zoma)
Date: Fri, 8 Aug 1997 13:43:03 +1000 (EST)
Cc: djgpp AT delorie DOT com (DJGPP)
In-Reply-To: <01bca2a6$080ef4c0$a69caec7@windows95> from Zoma at "Aug 6, 97 08:19:35 pm"
MIME-Version: 1.0

> I use Allegro, and think it is great, but there is a strange "error?" that
> occurs with its graphics routines.  I am using Mode 13h and whenever I
> clear the screen, a border forms around the edges of the screen in the 0
> color.  Why does this happen, and how can I prevent it from happening?  I
> don't use black as my zero color, so this is beginning to get annoying. 
> Thanks,
> 
This is no error, not even a feature of Allegro. VGA (indeed all graphics
adapters) do this. You either get the border, or make sure your zero colour
is black. Sorry, but it's da truth, and I don't think there are any hardware
registers you can "tweak" to change it.

Brett

- Raw text -


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