Re: paletteindexed8

From: Philip Taylor [ATI] (ptaylor_at_online.newsgroup-poster.ati.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 15:31:39 -0800

did you look at the AnimatePalette sample?

"RobyDx" <anonymous@discussions.microsoft.com> wrote in message
news:B7DEFC76-7A74-4679-A003-FFA8938D3DDE@microsoft.com...
> 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