mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 14:55:28 +00:00
Fixed bug #8897 - SDL_BlitSurface segfault when dest_rect is null
This commit is contained in:
parent
ed5d3d9f82
commit
237535b23a
|
@ -772,7 +772,7 @@ int SDL_UpperBlit(SDL_Surface *src, const SDL_Rect *srcrect,
|
|||
if (dstrect) { /* update output parameter */
|
||||
*dstrect = r_dst;
|
||||
}
|
||||
return SDL_LowerBlit(src, &r_src, dst, dstrect);
|
||||
return SDL_LowerBlit(src, &r_src, dst, &r_dst);
|
||||
}
|
||||
|
||||
end:
|
||||
|
|
Loading…
Reference in a new issue