RGBA_TORGB

RGBA_TORGB(rgba) ((D3DCOLOR) ((rgba) & 0xffffff))

Creates an RGB D3DCOLOR value from a supplied RGBA D3DCOLOR value by stripping off the alpha component of the color.

·Returns the RGB color.

rgba

RGBA color to be converted to an RGB color.