Some comments.

This commit is contained in:
the_fiddler 2007-11-12 07:45:34 +00:00
parent 754434fa67
commit 6904d0a23c

View file

@ -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)