On Mon, 19 Sep 2005 01:32 am, Christopher Arndt wrote:
> I wanted to try out the pygext library and the pylonoid game based on it,
> but I always get the following error when I try to run any pygext based
> programm, e.g:
>
> Traceback (most recent call last):
> File "tutorial1.py", line 27, in ?
> init((800,600))
> File "/usr/local/lib/python2.4/site-packages/pygext/gl/base.py", line 28,
> in init _init_display(resolution[0], resolution[1], fullscreen=fullscreen)
> File "/usr/local/lib/python2.4/site-packages/pygext/gl/base.py", line 51,
> in _init_display
> pygame.display.set_mode(resolution, flags, 32)
> pygame.error: Couldn't find matching GLX visual
Get rid of the 32 argument.
Richard
Attachment:
pgpIWsjzDm24d.pgp
Description: PGP signature