Newsgroups: comp.os.msdos.djgpp Date: Wed, 6 Aug 1997 21:32:22 -0400 From: Insomnia Subject: Re: Allegro question In-Reply-To: <01bca2a6$080ef4c0$a69caec7@windows95> Message-ID: References: <01bca2a6$080ef4c0$a69caec7 AT windows95> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII NNTP-Posting-Host: degobah.core.binghamton.edu Organization: Binghamton University Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 6 Aug 1997, Zoma wrote: > 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 a VGA issue (including SVGA). The screen border (the displayed portion of the screen that you cannot write your own pixels in) is always displayed in color 0 in paletted modes and black in non-paletted modes. Unfortunately, the only way AFAIK to make sure the border is black is to rearrange your palette such that color 0 is black. --Insomnia --Sleep is for the weak!