[Mono-osx] MonoMac + OpenTK ?
    Philippe Monteil 
    philippe.monteil at wanadoo.fr
       
    Thu Feb  3 03:40:09 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110203/b70a7e49/attachment-0001.html 
    
    
More information about the Mono-osx
mailing list