You're calling Sprite->Draw with a NULL color. I've not messed around with DirectX 9 much, but the quick searches I've done leads me to believe you should be passing "white" with maximum alpha. I'm not sure if NULL assumes white, or if it would be 'invisible'.

From MSDN:

The color and alpha channels are modulated by this value. A value of 0xFFFFFFFF maintains the original source color and alpha data. Use the D3DCOLOR_RGBA macro to help generate this color.

You're calling Sprite->Draw with a NULL color. I've not messed around with DirectX 9 much, but the quick searches I've done leads me to believe you should be passing "white" with maximum alpha. I'm not sure if NULL assumes white, or if it would be 'invisible'.

From MSDN:

The color and alpha channels are modulated by this value. A value of 0xFFFFFFFF maintains the original source color and alpha data. Use the D3DCOLOR_RGBA macro to help generate this color.

- Eck

Hi,

Thanks for you reply, I added the color, but still no display of sprite on the screen.