mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 04:25:33 +00:00
Added a call to StopWatch.Reset() to avoid starting the timers before their time.
This commit is contained in:
parent
72d39054db
commit
3df8c77cab
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue