mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 04:55:29 +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();
|
UpdateFrameEventArgs update_args = new UpdateFrameEventArgs();
|
||||||
RenderFrameEventArgs render_args = new RenderFrameEventArgs();
|
RenderFrameEventArgs render_args = new RenderFrameEventArgs();
|
||||||
|
|
||||||
|
update_watch.Reset();
|
||||||
|
render_watch.Reset();
|
||||||
|
|
||||||
//double sleep_granularity; // In seconds.
|
//double sleep_granularity; // In seconds.
|
||||||
|
|
||||||
//GC.Collect(2);
|
//GC.Collect(2);
|
||||||
|
|
Loading…
Reference in a new issue