From 89122b9128ebb7b14d9927fcde31ef76c4fcb038 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 15 Jan 2008 12:08:09 +0000 Subject: [PATCH] Temporarily disabled GameWindowExitException. --- Source/OpenTK/GameWindow.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 96a1980c..3c531f9f 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -156,7 +156,7 @@ namespace OpenTK public virtual void Exit() { isExiting = true; - UpdateFrame += CallExitInternal; + //UpdateFrame += CallExitInternal; } #endregion @@ -464,17 +464,12 @@ namespace OpenTK // return; //} - Debug.Print("Elevating priority."); - Thread.CurrentThread.Priority = ThreadPriority.AboveNormal; - - //ProcessEvents(); - //OnUpdateFrameInternal(update_args); - //OnRenderFrameInternal(render_args); + //Debug.Print("Elevating priority."); + //Thread.CurrentThread.Priority = ThreadPriority.AboveNormal; Debug.Print("Entering main loop."); while (!isExiting) { - // Process events ProcessEvents(); // Raise UpdateFrame events