Archived

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

Using/Enabling Depth Buffer

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

Hello everyone, I was wondering if it is necessary to create a depth buffer surface using the CreateDepthStencilSurface() function if I have set the EnableAutoDepthStencil and AutoDepthStencilFormat flags in the Present Parameters of the Device?

Share this post


Link to post
Share on other sites
If you specify EnableAutoDepthStencil and AutoDepthStencilFormat when you''re creating the device, thats all you need to do.

Look at the tutorials in the SDK (samples\multimedia\direct3d\tutorials) - those are the best way to start with working DX8 code

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites