From e404e9791ea5393d256de9ae9a4c0254e700e72b Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 15 Jan 2008 11:14:16 +0000 Subject: [PATCH] X11/GameWindow context creation should be fixed. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 6777236d..f0f3b592 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -420,10 +420,9 @@ namespace OpenTK.Platform.X11 API.MapRaised(window.Display, window.Handle); mapped = true; - driver = new X11Input(window); + glContext.CreateContext(true, null); - //GL.LoadAll(); - //Glu.LoadAll(); + driver = new X11Input(window); Debug.Unindent(); Debug.WriteLine("GameWindow creation completed successfully!");