Mail Archives: djgpp/1997/08/08/03:57:55
Newsgroups: | comp.os.msdos.djgpp
|
Date: | Wed, 6 Aug 1997 21:32:22 -0400
|
From: | Insomnia <insomnia AT degobah DOT core DOT binghamton DOT edu>
|
Subject: | Re: Allegro question
|
In-Reply-To: | <01bca2a6$080ef4c0$a69caec7@windows95>
|
Message-ID: | <Pine.SUN.3.93.970806212537.6848A-100000@degobah>
|
References: | <01bca2a6$080ef4c0$a69caec7 AT windows95>
|
MIME-Version: | 1.0
|
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
|
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!
- Raw text -