Re: paletteindexed8

From: RobyDx (
Date: 02/20/04

Date: Fri, 20 Feb 2004 11:46:06 -0800

then in DirectDraw I must use normal palette?
I can't use paletteIndexedTo8? In directDraw I want to set surface description for primary surface like this

 Dim d As New SurfaceDescription
 Dim f As PixelFormat
 f.PaletteIndexedTo8 = True
 d.PixelFormatStructure = f

but it generate error.
In DirectX7 with the flags this won't happen.
Do you think that in M-DX has remained only the flags and generate error or do you think that I must set something else?
Thank you and sorry for my bad English, I'm Italian bye