From 59f9746665a067f36abaa03adac49e4848b61d25 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 19 Sep 2009 21:56:13 +0000 Subject: [PATCH] Ensure the GameWindow is visible when the Run() method is called. --- Source/OpenTK/GameWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 1f1dd59e..732f4eac 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -379,6 +379,7 @@ namespace OpenTK update_watch.Reset(); render_watch.Reset(); + Visible = true; // Make sure the GameWindow is visible. OnLoadInternal(EventArgs.Empty); Debug.Print("Entering main loop.");