SlimDX/slimdx

Small improvement for MiniTri sample

Closed this issue · 1 comments

MiniTri sample takes all the available CPU time in its loop (switching to
another program is slow, for example).

Just add a System.Threading.Thread.Sleep(1) in the loop to solve the problem.

Original issue reported on code.google.com by hean...@live.fr on 6 May 2009 at 5:36

MiniTri is really about showing the bare minimum necessary to get Direct3D 
running.
Yielding thread time is nice, but not really required.

Original comment by Mike.Popoloski on 7 May 2009 at 7:01

  • Changed state: WontFix