mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Fixed bug #7614: Segmentation Fault in SDL_BlitSurface
(cherry picked from commit e6c8872fdc)
This commit is contained in:
parent
f3b0dc5007
commit
9db80adfba
1 changed files with 2 additions and 1 deletions
|
|
@ -702,7 +702,8 @@ int SDL_UpperBlit(SDL_Surface *src, const SDL_Rect *srcrect,
|
|||
SDL_Surface *dst, SDL_Rect *dstrect)
|
||||
{
|
||||
SDL_Rect fulldst;
|
||||
int srcx, srcy, w, h;
|
||||
int srcx, srcy;
|
||||
Sint64 w, h;
|
||||
|
||||
/* Make sure the surfaces aren't locked */
|
||||
if (!src || !dst) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue