Archived

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

Shadwdrak

Obtaining a Palette

Recommended Posts

lpDDPal = DDLoadPalette(lpDD, "grs01.bmp"); The code above compiles fine, and a palette of some sort is being set (in a little later code). The problem is that the palette is not the right one. The image only uses 35 colors and it is saved in 8bit format. grs01.bmp is a resource. Anyone have any clue as to why the correct palette is not being loaded? -Shadwdrak

Share this post


Link to post
Share on other sites