Mail Archives: djgpp/2000/01/03/12:12:54
B O'Donnell <odonnllb AT indigo DOT ie> writes:
> 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.
> ...
> My card is an S3 with 2 megabytes of memory, but I don't have this
> problem on Linux with svgalib.
It seems your are blitting to screen and showing mouse at the same
time. When you draw to screen you should hide mouse, freeze it using
freeze_mouse_flag or scare mouse (with scare_mouse/unscare_mouse).
If you are using double buffering, it might be better to draw mouse
yourself into double buffer just before blitting it to screen.
--
Michael Bukin
- Raw text -