[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] [BUG] pygame-ctypes -- some flags issue...



Hey,

It appears that the flags going into convert() are None instead of 0...

  File "flames.py", line 12, in __init__
    self.tmp1 = pygame.Surface((w,h+16)).convert(8)
  File "/usr/lib/python2.4/site-packages/pygame/surface.py", line 253, in convert
    if flags & SDL_SRCALPHA:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Phil


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.