Kevin
unread,Mar 25, 2008, 10:07:44 PM3/25/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DXFramework
Howdy All. I'm trying to print text to the window but it doesn't ever
show up! In the debug console it keeps saying
D3DX: ID3DXSprite::Draw called outside a Begin/End pair
Any ideas? Here's my code for it.
std::wstring nothingInteresting(L"Test");
myFont.Render2D(nothingInteresting, D3DXVECTOR2(50, 50), WHITE,
D3DXVECTOR2(1, 1), false);
and this is how i load my font
myFont.Load(L"Times New Roman", 16, FW_NORMAL);
Thanks for any help!