Back in 2011, I submitted Issue 532 regarding the lack of Core Profile 
support on Darwin 
(https://code.google.com/p/pyglet/issues/detail?id=532). Adam Griffiths 
went though later and did some clean up. I have taken the original patch 
and his modifications and applied them to the latest source head as the 
patch was pre-cocoapy fork.

Full repository: https://github.com/infowantstobeseen/pyglet-darwincore
Patched files: 
https://github.com/infowantstobeseen/pyglet-darwincore/commit/b27f3915f938a21c982420051db37efc0e7650ae
 
<https://github.com/infowantstobeseen/pyglet-darwincore/commit/b27f3915f938a21c982420051db37efc0e7650ae>

As Adam mentioned, this just allows you to create a context that uses the 
3.2 Core Profile; much of pyglet still uses Legacy and thus is incompatible 
(which is true of any Core Profile context created on other platforms). In 
addition, the shadow window must be disabled as I pointed out in the 
original patch. That'll be a much larger change, but this will at least 
allow Core Profile to be used on Darwin.


-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to