Advertisement

EnableAutoDepthStencil and AutoDepthStencilFormat

Started by October 20, 2002 12:40 AM
0 comments, last by raylee 22 years ago
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?
P.S. It doesn''t occour error. The window can be created.
but the triangle cannot be rendered on the screen!

This topic is closed to new replies.

Advertisement