mirror of
https://github.com/yawut/SDL.git
synced 2026-05-06 05:09:34 -05:00
This looks like it might hit Bugzilla #441, too, so we'll play it safe.
--HG-- branch : SDL-1.2
This commit is contained in:
parent
9032aaaf8c
commit
83c756f4bb
|
|
@ -380,6 +380,9 @@ SDL_Surface * NX_SetVideoMode (_THIS, SDL_Surface * current,
|
|||
current -> pitch = SDL_CalculatePitch (current) ;
|
||||
NX_ResizeImage (this, current, flags) ;
|
||||
}
|
||||
|
||||
/* Clear these flags and set them only if they are in the new set. */
|
||||
current -> flags &= ~(SDL_RESIZABLE|SDL_NOFRAME);
|
||||
current -> flags |= (flags & (SDL_RESIZABLE | SDL_NOFRAME)) ;
|
||||
|
||||
done:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user