Jump to content
  • Advertisement

Archived

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

raylee

EnableAutoDepthStencil and AutoDepthStencilFormat

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

As I know the two parameters are used for initialiation of D3d Device, and their features are enable auto z-buffer control for the device. But I have the problem below. In D3d Tut 3 (Matrics), I add the code below when initial D3D deivce: d3dpp.EnableAutoDepthStencil = TRUE d3dpp.AutoDepthStencilFormat = D3DFMT_D16 it causes nothing display in the screen! Why?

Share this post


Link to post
Share on other sites
Advertisement
P.S. It doesn''t occour error. The window can be created.
but the triangle cannot be rendered on the screen!

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.

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!