Hi,

MacOS 10.14 has various OpenGL bugs.

If you have an apple developer account, I suggest submitting bug reports.

SDL is working around some of them here, so probably similar work arounds 
could be used: 
https://bugzilla.libsdl.org/show_bug.cgi?id=4272


cheers,


On Friday, October 5, 2018 at 7:20:24 PM UTC+2, Gutemberg Guerra Filho 
wrote:
>
> I recently upgraded MacOS to Mojave v. 10.14 and applications using pyglet 
> are not working properly anymore. The graphics objects are drawn but they 
> are quickly replaced by a white screen.
>
> Anyone has the same experience and suggestions on how to fix this? I tried 
> a simple "Hello World" example (listed below) and the behavior is the same. 
> The text may be drawn but the white screen replaces it too quickly.
>
> Thanks for any help.
>
> Best.
>
> ------------------
>
> import pyglet
>
> window = pyglet.window.Window()
>
> label = pyglet.text.Label('Hello, world',
>                           font_name='Times New Roman',
>                           font_size=36,
>                           x=window.width//2, y=window.height//2,
>                           anchor_x='center', anchor_y='center')
>
> @window.event
> def on_draw():
>     window.clear()
>     label.draw()
>
> pyglet.app.run()
>
>

-- 
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 pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to