Palletized Textures

Although API support for palletized textures has been changed for DirectX 8.0, this is not reflected in the DDI. The existing palette-oriented DP2 tokens continue to be used to notify the driver of the binding between a palette and a texture and of updates to palettes.

It cannot be assumed, because an association between a surface and a palette has been established with D3DDP2OP_SETPALETTE, that the lpPalette field of the surface structure points to a valid palette. The association between a palette and a surface established by the DP2 stream is not reflected in the actual surface and palette data structures.

Furthermore, DirectDraw's palette DDI entry points are not called for these palettes. All DDI notifications of texture palette operations are done through the DP2 stream.