Jump to content
  • Advertisement
Sign in to follow this  
X-dev

DX10 drawtext

This topic is 3701 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

After ID3DX10font->DrawTextA(NULL, "text", -1, &fontPosition, DT_CENTER, D3DXCOLOR(0.0f, 1.0f, 0.0f, 0.5f)); i get warnings: D3D10: INFO: ID3D10Device::VSSetShader: The currently bound VertexShader is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO #33: VSSETSHADER_UNBINDDELETINGOBJECT ] D3D10: INFO: ID3D10Device::GSSetShader: The currently bound GeometryShader is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO #37: GSSETSHADER_UNBINDDELETINGOBJECT ] D3D10: INFO: ID3D10Device::PSSetShader: The currently bound PixelShader is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO #42: PSSETSHADER_UNBINDDELETINGOBJECT ] D3D10: INFO: ID3D10Device::GSSetConstantBuffers: A currently bound GeometryShader ConstantBuffer is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO #39: GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT ] D3D10: INFO: ID3D10Device::IASetVertexBuffers: A currently bound VertexBuffer is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO #31: IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT ] How can i make it disappear in output window?

Share this post


Link to post
Share on other sites
Advertisement
You can mute some debug messages in the debug window ( Start/Programs/SDK Group/utils/DirectX Control Panel ) there on the DX10 tab you can set the messages you dont whant to display on the console window.

I hope that helps.

Edit: I will reccomend to fix the issues is causing to appear the debug messages instead of mute them.

You could check what is cousing the shaders to be deleted once you draw the text.

Share this post


Link to post
Share on other sites
calling listed functions with NULL parameter helps.
But even helps calling GET-functions, not SET-...
thxs

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!