UpdateRects error

hi

i’m italian, exuse me for my orrible english

i’m writing a sprite library for my games, based on SDL,
if the sprite is out of the screen, and i use SDL_UpdateRects
the program exit with X11 error, if i use SDL_UpdateRect for
each sprite in the games, the program run without error.

bye