From 06c0468091a193cc40b2879a4ec1f8246588798f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 2 Sep 2007 23:18:50 +0000 Subject: [PATCH] Glu is now initialized under X11GLNative --- Source/OpenTK/Platform/X11/X11GLNative.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 80d484c7..1fbe1290 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -10,6 +10,7 @@ using System.Text; using System.Runtime.InteropServices; using System.Diagnostics; using System.Reflection; +using OpenTK.OpenGL; //using OpenTK.OpenGL; @@ -309,7 +310,8 @@ namespace OpenTK.Platform.X11 API.MapRaised(window.Display, window.Handle); - OpenTK.OpenGL.GL.LoadAll(); + GL.LoadAll(); + Glu.LoadAll(); Debug.Unindent(); Debug.WriteLine("GameWindow creation completed successfully!");