On Jan 29, 2008 3:15 PM, Simon Wittber <[EMAIL PROTECTED]> wrote: > > On Jan 29, 1:08 am, Jonas Wagner <[EMAIL PROTECTED]> wrote: > > Hi > > I've written a renderer for the mandelbrot set using pyglet. > > All the rendering is done on the GPU using GLSL. With my > > Geforce 8800GT I get 60 FPS at 1680x1050. May be the shader > > class is of some use for someone. > > > > I'm running Linux x86_64, and needed to change line 122 to: > > nulll = c.POINTER(c.c_int)() > > before the program would run. I'm not exactly sure why... but I guess > it could be that a c_int on a 64 bit OS is the equivalent of a c_long > on a 32 bit OS? I wonder if this could become a common problem in > pyglet/ctypes based programs?
ctypes also accepts None as a correctly-sized NULL. pyglet works fine on Linux/64 (my development machine), but would need serious work for 64-bit Python on Vista or OS X (there are no Python distributions compiled like this AFAIK, so it's not a priority). Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
