Mail Archives: djgpp/1996/12/02/15:57:13
In article <57sbo1$fas AT athena DOT cytanet DOT com DOT cy>, Marios Patsias <m DOT patsias AT cytanet DOT com DOT cy> says:
>
>I use the Allegro draw_sprite() function for displaying bitmaps, but
>the bitmap isn't masked as it should be (according to the documentation),
>and the blank pixel of it owerwrite the background.
>Is there anything that I should know before using this function.
>Note: The bitmap is a memory bitmap defined in a grabber .DAT file.
>
>
>Marios Patsias
>m DOT patsias AT cytanet DOT com DOT cy
>CYPRUS
>
>
the Allegro draw_sprite function masks colour 0, so you need to ensure that
all the bits of the sprite that you don't want displayed on screen (i.e.
the background) is set to colour index 0.
- Raw text -