// clip it, or sort it into the other set of sprites.
if(s->x + s->w < 0 || s->x >= XSIZE
|| s->y + s->h < 0 || s->y >= YSIZE) {
// clip it, or sort it into the other set of sprites.
if(s->x + s->w < 0 || s->x >= XSIZE
|| s->y + s->h < 0 || s->y >= YSIZE) {