Added a call to StopWatch.Reset() to avoid starting the timers before their time.

This commit is contained in:
the_fiddler 2007-11-11 23:32:58 +00:00
parent 72d39054db
commit 3df8c77cab

View file

@ -419,6 +419,9 @@ namespace OpenTK
UpdateFrameEventArgs update_args = new UpdateFrameEventArgs();
RenderFrameEventArgs render_args = new RenderFrameEventArgs();
update_watch.Reset();
render_watch.Reset();
//double sleep_granularity; // In seconds.
//GC.Collect(2);