How can I do this??
I have tried to put DDPalettes on my surface, but I keep getting Automation Errors and the such
Printable View
How can I do this??
I have tried to put DDPalettes on my surface, but I keep getting Automation Errors and the such
If it doesn't work, you probably aren't using an 8-bit surface. I believe setting the surface's .ddpfPixelFormat.lFlags = DDPF_PALETTEINDEXED8 will solve your problem. I've done this too but never gotten it to work, so good luck...
If it doesn't work, you probably aren't using an 8-bit surface. I believe setting the surface's .ddpfPixelFormat.lFlags = DDPF_PALETTEINDEXED8 will solve your problem. I've done this too but never gotten it to work, so good luck...
If that doesn't work, try setting it to DDPF_PALETTEINDEXED8 Or DDPF_PALETTEINDEXEDTO8
You double posted :D
It works perfectly, thanks!