Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

cd3dfont

This topic is 5965 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i tried using cd3dfont, whenever i tried to call its function drawtext the app wun start. does anione has the same prob or noes hw to solve mine ? thanx alot.

Share this post


Link to post
Share on other sites
Advertisement
font = new CD3DFont( _T("Arial"), 100, D3DFONT_BOLD );

hr = font->InitDeviceObjects(pID3DDevice);


and this is my code for drawing
hr = font->DrawText( 20, 20, D3DCOLOR_ARGB(255,255,255,0), _T("2D Text") );

i check the 1st hr and there wasn''t ani error.
however whenever i entered the code for drawing the app wun start
thanx.

Share this post


Link to post
Share on other sites
Thanx for the help from me too! I couldn''t figure out the problem, but a quick search in the Gamedev forums gave me this, so I just aprecieate all of the people here who answer questions.

Tazzel3d ~ Zach

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!