[OpenTK] Simplify and improve timing calculations
authorStefanos A. <stapostol@gmail.com>
Mon, 6 Jan 2014 00:57:54 +0000 (01:57 +0100)
committerStefanos A. <stapostol@gmail.com>
Mon, 6 Jan 2014 00:57:54 +0000 (01:57 +0100)
commit83f54f70aac177ca2724319bd291f8f1e5316311
treeb2db5dc3858a80acdd7ab5bdc91cb93f05c9eb87
parent88c57db5b682835f16c4c5adc1178c72d67e6bb5
[OpenTK] Simplify and improve timing calculations

This patch modifies GameWindow.Run() to use a single stopwatch instead
of two separate stopwatches for timing UpdateFrame and RenderFrame
events.

It improves timing accuracy for issue #20 (FrameEventArgs.Time
Inconsistencies)
Source/OpenTK/GameWindow.cs