That isn’t the correct way to do that and will get you into trouble. Instead just do this:
GraphicsDevice.DepthStencilState = DepthStencilState.Default;
That is the correct way to do what you want.
That isn’t the correct way to do that and will get you into trouble. Instead just do this:
GraphicsDevice.DepthStencilState = DepthStencilState.Default;
That is the correct way to do what you want.