zbuffer problem

Hi, I'm making a program using c# (Microsoft V. C# EE) and directX SDK 2008(november) the program works great but only on a few computers.
Most of the computers on which it doesn't work have an integrated GC (just observation).
The only way I can fix it is to stop using the zbuffer or make a referenced directX device but then the program need an instaled directX SDK and that's a bit impractical.

Is there anything I can do?
when it is necessary I can upload the whole code/project

here is my initialision procedure:

[color=Blue] private void InitializeDevice()

PresentParameters parameters = new PresentParameters();

parameters.AutoDepthStencilFormat = DepthFormat.D16;
parameters.EnableAutoDepthStencil = true;
parameters.Windowed = true;
parameters.SwapEffect = SwapEffect.Discard;
parameters.MultiSample = MultiSampleType.EightSamples;

m_Device = new Device(0, DeviceType.Hardware, this.placeHolder, CreateFlags.HardwareVertexProcessing, parameters);


the placHolder is an User Control
I've tried different types of FrameWork and DirectX SDK but it's no use

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!