Hay, I tried this too and found it had been missing from MonoMac. I created a project and added in the missing aspects:
https://github.com/interfaceVision/monomac/commit/b183b1846651fe2fec58d529eeceda6ed8402dd8 See changes for src/AppKit/Enums.cs . Here is where the missing constants were added. There may be a little more work to do to get the right OpenGL context working. So, I also have an example using OpenGL 3.2 and GLSL 1.5. I've not checked to see if this was merged into the main branch yet. You may need to follow the process to build MonoMac on your system, then update the few files as I've done. Things should work then. Really hope this helps. Take care, Eric On Sat, May 12, 2012 at 2:43 PM, renan jegouzo <[email protected]> wrote: > hi, > > I can't find NSOpenGLPixelFormatAttribute.**OpenGLprofile > in monomac, where are declared the constants needed by lion to select the > opengl version ? > > -- > renan jegouzo (YoY) > software architect > email: [email protected] > web: http://aestesis.net/ > > > ______________________________**_________________ > Mono-osx mailing list > [email protected] > http://lists.ximian.com/**mailman/listinfo/mono-osx<http://lists.ximian.com/mailman/listinfo/mono-osx> >
_______________________________________________ Mono-osx mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-osx
