[Mono-osx] MonoMac and OpenTK?
philippe.monteil
philippe.monteil at dolce-vista.com
Fri Feb 4 09:13:49 EST 2011
I have been trying to get started using OpenGL with MonoMac through OpenTK
without much success so far.
A simple sequence like:
using OpenTK.Graphics.OpenGL;
Console.WriteLine("MyOpenGLView.DrawRect() _version(-)");
string _version = GL.GetString(StringName.Version);
Console.WriteLine("MyOpenGLView.DrawRect() _version(+)=" +
_version);
causes an exception.
Is OpenTK the right way to go under MonoMac?
The MacOSX documentation says:
<<
OpenGL APIs Specific to Mac OS X
Mac OS X offers two easy-to-use APIs that are specific to the Macintosh
platform: the NSOpenGL classes and the CGL API. Throughout this document,
these APIs are referred to as the Apple-specific OpenGL APIs.
>>
Should the OpenGL API be accessed using the NSOpenGL class instead of
OpenTK?
Thanks!
Philippe
--
View this message in context: http://mono.1490590.n4.nabble.com/MonoMac-and-OpenTK-tp3259455p3260237.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list