From: "Locke" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro question Date: 7 Aug 1997 16:01:06 GMT Organization: InterActive Network - Serving S. NJ (609)227-4428 Lines: 20 Message-ID: <01bca34b$8eddb360$66e0f9ce@ghema.jaguarsystems.com> References: <01bca2a6$080ef4c0$a69caec7 AT windows95> NNTP-Posting-Host: ship102.jaguarsystems.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Zoma wrote in article <01bca2a6$080ef4c0$a69caec7 AT windows95>... > 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, > It isn't Allegro... You will see this with any graphics library you use. The standard vga modes have a border around the edge that is color 0. I don't know why, but that's the way it works. The only thing I can tell you is to keep color 0 to black, it's a pain, but it's the only way I've ever seen to stop it from bugging the hell out of the user of the program. Sorry, that's probably not what you wanted to hear. locke