From 6904d0a23c50716b9af1a05fed88d01d37996b25 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 12 Nov 2007 07:45:34 +0000 Subject: [PATCH] Some comments. --- Source/OpenTK/GameWindow.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 04017548..aa1dbca7 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -450,7 +450,11 @@ namespace OpenTK Debug.Print("Elevating priority."); Thread.CurrentThread.Priority = ThreadPriority.AboveNormal; - + + //ProcessEvents(); + //OnUpdateFrameInternal(update_args); + //OnRenderFrameInternal(render_args); + Debug.Print("Entering main loop."); while (!isExiting) { @@ -496,9 +500,6 @@ namespace OpenTK update_time_counter = 0.0; } - //if (isExiting) - // break; - // Raise RenderFrame event time = render_watch.Elapsed.TotalSeconds; if (time > 1.0)