A little cleanup on the cleanup, just for consistency.

This commit is contained in:
Sam Lantinga 2013-07-23 19:18:01 -07:00
parent aa5f318964
commit ccb139c73a
3 changed files with 4 additions and 2 deletions

View file

@ -529,6 +529,8 @@ SDL_UpperBlit(SDL_Surface * src, const SDL_Rect * srcrect,
/* If the destination rectangle is NULL, use the entire dest surface */
if (dstrect == NULL) {
fulldst.x = fulldst.y = 0;
fulldst.w = dst->w;
fulldst.h = dst->h;
dstrect = &fulldst;
}