DirectDraw: vertical lines appearing instead of transprent color

Started by
2 comments, last by Lucky_Dave 21 years, 7 months ago
I am blitting DD7 surfaces onto my backbuffer. My problem is that my transparent color is not transparent. Instead, it displays vertical lines, one transparent, one with the color that was supposed to be transparent, and so one. What''s happening ? Anyone would help please ?
Advertisement
Make sure the size of the destination and source rects are equal. I''ve run into similar problems when they were off by one or something like that.
-Andrew
Dest and source rects do not have to be equal. Eit her one can be larger or smaller than the other. Are you converting your transparent color to the current bit depth before you send the value to the surface?
You are right, it was a bit depth problem. It works now, thanks.

This topic is closed to new replies.

Advertisement