Glu is now initialized under X11GLNative
This commit is contained in:
parent
096d33dca4
commit
105902336e
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@ using System.Text;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using OpenTK.OpenGL;
|
||||||
|
|
||||||
//using OpenTK.OpenGL;
|
//using OpenTK.OpenGL;
|
||||||
|
|
||||||
|
@ -309,7 +310,8 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
API.MapRaised(window.Display, window.Handle);
|
API.MapRaised(window.Display, window.Handle);
|
||||||
|
|
||||||
OpenTK.OpenGL.GL.LoadAll();
|
GL.LoadAll();
|
||||||
|
Glu.LoadAll();
|
||||||
|
|
||||||
Debug.Unindent();
|
Debug.Unindent();
|
||||||
Debug.WriteLine("GameWindow creation completed successfully!");
|
Debug.WriteLine("GameWindow creation completed successfully!");
|
||||||
|
|
Loading…
Reference in a new issue