Message-ID: <386E810E.DDD820D@indigo.ie> From: "B O'Donnell" X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i486) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Blitting problem with Allegro Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Sat, 01 Jan 2000 22:34:54 +0000 NNTP-Posting-Host: 194.125.205.71 X-Complaints-To: news AT indigo DOT ie X-Trace: news.indigo.ie 946766460 194.125.205.71 (Sat, 01 Jan 2000 22:41:00 GMT) NNTP-Posting-Date: Sat, 01 Jan 2000 22:41:00 GMT Organization: Indigo To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've had a problem since I started with Allegro which is fairly trivial but getting increasingly irritating. When I blit to screen (640*480*256) from a bitmap, short lines of pixels appear on the screen vertically displaced from their proper position, and standing out against the background, though, as far as I can tell, they also appear where they ought - anyway, though my eyes aren't that good, I can't see any black lines in the blits. It seems to have got worse since I grabbed another half meg of memory for a few more sprites, but it was there when I was using a lot less memory. This starts happening after a few dozen (hundreds?) of blits on the same screen, and I've had the same results whatever programming approach I try, ranging from munging the source bitmap to point to my graphic and blitting, to putting every pixel in practically by hand. I'm also getting two extra mouse cursors stuck on the screen occasionally, which disappear simultaneously when I redraw a totally different part of the screen. My card is an S3 with 2 megabytes of memory, but I don't have this problem on Linux with svgalib. TIA Brian O'Donnell odonnllb AT indigo DOT ie