ddraw palette problem...

Started by
0 comments, last by Shadwdrak 23 years, 11 months ago
Well first off here''s the code that is in question. // Create and set the palette lpDDPal = DDLoadPalette(lpDD, MAKEINTRESOURCE(IDB_GRS01)); lpDDSPrimary->SetPalette(lpDDPal); When I display the image IDB_GRS01 it appears to use about 3 colors and looks absolutely horrible. Does anyone know whats going on? -Shadwdrak
Advertisement
Make the image in a multiple of 8, ie. 8x16, 64x72, 152x216...

I bet it looks something like this:

////////
////////
////////
////////
////////

This topic is closed to new replies.

Advertisement