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 f103f08f35
commit e020c2f55f

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);