gerardorosiles / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

WPF sample SlimDXControl.xaml.cs problem with Device.Clear #770

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On line 492 of the SlimDXControl.xaml.cs :

Device.Clear(ClearFlags.Target | ClearFlags.ZBuffer, new 
Color4(System.Drawing.Color.Black), 0, 0);

I changed it with

Device.Clear(ClearFlags.Target | ClearFlags.ZBuffer, new 
Color4(System.Drawing.Color.Black), 1, 0);

to display 3d content.

Original issue reported on code.google.com by i...@ggsoft.fr on 20 Jan 2011 at 6:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1888.

Original comment by Mike.Popoloski on 21 Jan 2011 at 9:20