[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Re: set_clip
> > foo.set_clip ()
> > gives:
> > Fatal signal: Segmentation Fault (SDL Parachute Deployed)
this WAS definitely crashing. i've patched that up and got it
into CVS for you. also a slight change to set_clip. i was
mistaken when i read the SDL docs. It states SDL_SetClipRect
clips the input rectangle to the size of the surface. i
thought it was actually changing the values in the SDL_Rect
it was passed, but it turns out it does not. Surface.set_clip()
now returns None, since there's no point in returning the
exact same rectangle that was passed in.
gold star for you, for finding another bug!
at this point i can safely say Surface.set_clip() is working well!
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org