On Sun, Nov 29, 2009 at 4:50 PM, flx <[email protected]> wrote: > 2009/11/29 claudio canepa <[email protected]>: > > Not long ago, in a thread about pyglet issue 423 surfaced that with some > > hardware pyglet will not try to use glMultiDraw / VBOs. [0] > > Maybe is the flx case ? > > I've been trying the glMultiDrawElements test posted on that thread [1] > > Without vl.delete it runs fine, i can see 3 solid color triangles > covering the whole layer. > > With vl.delete() it crashes on a ctypes error: > File "/usr/lib/python2.6/site-packages/pyglet/graphics/vertexdomain.py", > line 690, in draw > primcount) > ctypes.ArgumentError: argument 4: <type 'exceptions.TypeError'>: > expected LP_c_void_p instance instead of c_ulong_Array_2 > > I'm running it on a linux box with an nvidia geforce 8600M GS, nvidia > driver 190.42-1 and pyglet 1.1.3-1 > > glxinfo here [2] > > [1] http://thread.gmane.org/gmane.comp.python.pyglet.user/3123 > > [2] http://pastebin.com/m6ec82757 > > -- > .__.ยทยบ(foolhu!) > (oO) > / | | \ > > -- > > >
Try the 1.1.4 version, it incorporated the fix for that bug. -- claxo -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" 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/cocos-discuss?hl=en.
