On Sat, Aug 21, 2010 at 5:05 AM, Ryan <[email protected]> wrote:
> I tried posting this question before, but it appears to not have made
> it past moderation, somehow:
>
> Pyglet exits unexpectedly and silently if I do this:
>
>     from multiprocessing import Process
>     import pyglet
>     from pyglet.gl import *
> ...
>     from multiprocessing import Process
>     import pyglet
>     from pyglet import gl

Importing gl in that way gives you a ModuleProxy and doesn't actually
load the gl module, so doesn't create the shadow window, so forking
still works fine. (I complained about this before, because it also
means using gl.anything is crazy slow afterwards.)

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to