Updated to work with the new bindings.

This commit is contained in:
the_fiddler 2007-11-04 15:41:10 +00:00
parent 3727da3a91
commit e0c804a456

View file

@ -13,6 +13,7 @@ using OpenTK.Platform;
using OpenTK.Input; using OpenTK.Input;
using System.Threading; using System.Threading;
using OpenTK.OpenGL; using OpenTK.OpenGL;
using OpenTK.OpenGL.Enums;
namespace OpenTK namespace OpenTK
{ {
@ -721,9 +722,9 @@ namespace OpenTK
} }
Debug.WriteLine(String.Format("OpenGL driver information: {0}, {1}, {2}", Debug.WriteLine(String.Format("OpenGL driver information: {0}, {1}, {2}",
GL.GetString(GL.Enums.StringName.RENDERER), GL.GetString(StringName.Renderer),
GL.GetString(GL.Enums.StringName.VENDOR), GL.GetString(StringName.Vendor),
GL.GetString(GL.Enums.StringName.VERSION))); GL.GetString(StringName.Version)));
if (this.Load != null) if (this.Load != null)
{ {