   ID3DX10Font and depth buffer problems
  Hi, whenever I have a call to ID3DX10Font::DrawText(0, L"test", -1, &rectangle, 0, D3DXCOLOR(1.0f,1.0f,1.0f,1.0f)) the depth buffer for the whole scene stops working! I really have no idea why this would be happening. Any help is appreciated.   
  The Font interface is probably setting a new state for the Depth/Stencil operation. When the call returns, you need to reset the states you want to use when rendering, or it'll continue using the old state. Look into OMSetDepthStencilState or the equivalent HLSL replacement for more info on how to do that.Hope this helps.   ;  Thanks works great now :)   