Archived

This topic is now archived and is closed to further replies.

16 bit color and ddbltfx

This topic is 6602 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You should always check the pixelformat of your surface(s) using
IDirecrDrawSurface::GetPixelFormat
If you don't, your colors could be messed up on other video cards.
(That was a problem i had, not long ago)

SeeYa...

Share this post


Link to post
Share on other sites
I'm doing a colorfill for a certain region, so I call the Blt function and pass the ddbltfx structure. But how do I get the color I want for ddbltfx.dwFillColor.

For example, what value do I pass to dwFillColor to get pure red, or pure green, or pure blue? (I'm new with 16 bit color)Thanks for your help.

Share this post


Link to post
Share on other sites