2010/4/26 Lucas Caro™ <[email protected]> > sorry for the multipart email :S maybe this has something to do with the > issue: > > Exception ctypes.ArgumentError: "argument 2: <type > 'exceptions.TypeError'>: expected LP_c_uint instance instead of > pointer to c_ulong" in <bound method FramebufferObject.__del__ of > <cocos.gl_framebuffer_object.FramebufferObject object at 0x3a19e10>> > ignored > > That's shown in the console only when i move slowly. > >
Strange. At first, seeing that FramebufferObject in __init__ uses ctypes.c_uint and later the __del__ uses ctypes.c_ulong , I believed that could be the problem, but my python 2.6.5 (32 bits) console tells: >>> ctypes.c_uint is ctypes.c_ulong True >>> @Lucas: Your python is 32 bits or 64 bits ? Just in case, what tells your python console with same expresion? And, can you give a try to the attached script (test_del__fbo.py) ? Is the same as test_sprite.py but at 2sec will grab a fbo, then 2sec later will release. Prints the same error (or any other) in console ? The idea is to have something more reproducible. I searched for ctypes LP_c_uint but found nothing useful. Anyone have an idea ? -- claudio -- 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.
test_del__fbo.py
Description: Binary data
