Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
printing text issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin  
View profile  
 More options Mar 25 2008, 10:07 pm
From: Kevin <kccomputers2...@gmail.com>
Date: Tue, 25 Mar 2008 19:07:44 -0700 (PDT)
Local: Tues, Mar 25 2008 10:07 pm
Subject: printing text issue
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!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voigtjr@gmail.com  
View profile  
 More options Mar 25 2008, 10:10 pm
From: "voig...@gmail.com" <voig...@gmail.com>
Date: Tue, 25 Mar 2008 19:10:11 -0700 (PDT)
Local: Tues, Mar 25 2008 10:10 pm
Subject: Re: printing text issue
What function are you making the Render2D call in? It needs to be in
GameState Render2D.

On Mar 25, 10:07 pm, Kevin <kccomputers2...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google