[Mono-osx] NSOpenGLPixelFormatAttribute.OpenGLprofile

Eric Hosick erichosick at gmail.com
Sat May 12 08:52:38 UTC 2012


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 <renan at aestesis.org> 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: renan at aestesis.org
> web:   http://aestesis.net/
>
>
> ______________________________**_________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/**mailman/listinfo/mono-osx<http://lists.ximian.com/mailman/listinfo/mono-osx>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120512/1ae56b4a/attachment.html>


More information about the Mono-osx mailing list