Creating palletized 8Bit surfaces with DDraw
hi
my application uses 16bit fullscreen mode / windows desktop to blit offscreen surfaces to the primary surface.
the offscreen surfaces contain bitmaps loaded from a palletized 8bit file, and because the primary surface is 16bit they are converted to this format in the memory
now my question is, how can i create 8bit surfaces with a primary 16bit surface? must i attach a pallete to the offscreen surface or initialize it differently?
thanks
ridcully
February 17, 2000 12:00 PM
okay, i''ll change my question a bit:
is it POSSIBLE to store a 8bit surface in memory with a display mode of 16bit?
thanks again
ridcully
is it POSSIBLE to store a 8bit surface in memory with a display mode of 16bit?
thanks again
ridcully
Nope. I think not. I remember seeing something on this in the MSDN docs but i can''t seem to find it. Anyways, if you somehow find out how to do it feel free to drop me a note
Doing asm routines to do the job is much more challenging, though.

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement