Some comments.
This commit is contained in:
parent
754434fa67
commit
6904d0a23c
1 changed files with 5 additions and 4 deletions
|
@ -451,6 +451,10 @@ namespace OpenTK
|
||||||
Debug.Print("Elevating priority.");
|
Debug.Print("Elevating priority.");
|
||||||
Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
|
Thread.CurrentThread.Priority = ThreadPriority.AboveNormal;
|
||||||
|
|
||||||
|
//ProcessEvents();
|
||||||
|
//OnUpdateFrameInternal(update_args);
|
||||||
|
//OnRenderFrameInternal(render_args);
|
||||||
|
|
||||||
Debug.Print("Entering main loop.");
|
Debug.Print("Entering main loop.");
|
||||||
while (!isExiting)
|
while (!isExiting)
|
||||||
{
|
{
|
||||||
|
@ -496,9 +500,6 @@ namespace OpenTK
|
||||||
update_time_counter = 0.0;
|
update_time_counter = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (isExiting)
|
|
||||||
// break;
|
|
||||||
|
|
||||||
// Raise RenderFrame event
|
// Raise RenderFrame event
|
||||||
time = render_watch.Elapsed.TotalSeconds;
|
time = render_watch.Elapsed.TotalSeconds;
|
||||||
if (time > 1.0)
|
if (time > 1.0)
|
||||||
|
|
Loading…
Reference in a new issue