[Mono-osx] MonoMac and OpenTK?
Miguel de Icaza
miguel at novell.com
Fri Feb 4 10:18:10 EST 2011
> A simple sequence like:
> using OpenTK.Graphics.OpenGL;
> Console.WriteLine("MyOpenGLView.DrawRect() _version(-)");
> string _version = GL.GetString(StringName.Version);
> Console.WriteLine("MyOpenGLView.DrawRect() _version(+)=" +
> causes an exception.
> Is OpenTK the right way to go under MonoMac?
We want to expose the same version of OpenTK that we use for MonoTouch
and Monodroid (which is slightly older than the current OpenTK) in
MonoMac, but we have not done any integration work yet.
The reason for staying with an older version is that OpenTK broke
their API after we used it in MonoTouch, and we figured that we would
wait on that API release until they released a final API, to avoid
tracking changes every week.
As for using the NSOpenGLView, I have not tried using it myself yet.
More information about the Mono-osx