[OpenTK] Do not hang when update rate too high
authorStefanos A. <stapostol@gmail.com>
Tue, 14 Jan 2014 12:55:24 +0000 (13:55 +0100)
committerStefanos A. <stapostol@gmail.com>
Tue, 14 Jan 2014 12:55:24 +0000 (13:55 +0100)
commit1f44cf27a14a77c544f0f8bef96cf8c62e752a30
tree92b8a64f86ba75d1207cca04f912d13be23a4562
parent95d71bc0ccc1b1ad25a9afda81b56efd9f14932c
[OpenTK] Do not hang when update rate too high

OpenTK will now detect when an UpdateFrame handler is consistently
taking too long to finish, and stop raising UpdateFrame events. This
gives ProcessEvents() a chance to execute and will protect the
application from hanging up.
Source/OpenTK/GameWindow.cs