   Drawing text with ID3DXFont using ID3DXSprite
  From MSDN:quote:INT DrawText(LPD3DXSPRITE pSprite,    LPCTSTR pString,    INT Count,    LPRECT pRect,    DWORD Format,    D3DCOLOR Color);pSprite[in] Pointer to a ID3DXSprite object that contains the string. Can be NULL, in which case Microsoft® Direct3D® will render the string with its own sprite object.To improve efficiency, a sprite object should be specified if ID3DXFont::DrawText is to be called more than once in a row.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3dx/interfaces/id3dxfont/DrawText.aspMy question is, exactly how do I set up the sprite?  Here''s what I tried:   D3DXMATRIX matView, matWorld;g_pD3DDevice->GetTransform(D3DTS_VIEW, &matView);g_pD3DDevice->GetTransform(D3DTS_WORLD, &matWorld);g_TextSprite->SetWorldViewLH(&matWorld, &matView);g_TextSprite->Begin(D3DXSPRITE_BILLBOARD);g_Font->DrawText(g_TextSprite, g_szText, -1, &rc, DT_SINGLELINE | DT_LEFT | DT_NOCLIP | DT_BOTTOM, 0xffffffff);g_pTextSprite->End();I really don''t know what I''m doing, because MSDN as usual gave very little information as to how much it expects me to do and how much it will do.  This code renders some colored quads, but doesn''t draw the text.  What exactly do I need to do to get this to work?  The only thing I know to do that can make it work is give it NULL and take a performance hit, which I don''t want to do if there is a viable alternative. 
  D3DXSPRITE_ALPHABLEND | D3DXSPRITE_SORT_TEXTURExyzzy ;  It worked, thanks. 