equal
deleted
inserted
replaced
593 full_rect.h = surface->h; |
593 full_rect.h = surface->h; |
594 |
594 |
595 /* Set the clipping rectangle */ |
595 /* Set the clipping rectangle */ |
596 if (!rect) { |
596 if (!rect) { |
597 surface->clip_rect = full_rect; |
597 surface->clip_rect = full_rect; |
598 return 1; |
598 return SDL_TRUE; |
599 } |
599 } |
600 return SDL_IntersectRect(rect, &full_rect, &surface->clip_rect); |
600 return SDL_IntersectRect(rect, &full_rect, &surface->clip_rect); |
601 } |
601 } |
602 |
602 |
603 void |
603 void |