This looks like it might hit Bugzilla #441, too, so we'll play it safe. SDL-1.2
authorRyan C. Gordon
Sun, 08 Jul 2007 01:55:46 +0000
branchSDL-1.2
changeset 40179a451f59b388
parent 4016 3f93ccc2c01e
child 4018 a8a548394a81
This looks like it might hit Bugzilla #441, too, so we'll play it safe.
src/video/nanox/SDL_nxvideo.c
     1.1 --- a/src/video/nanox/SDL_nxvideo.c	Sun Jul 08 01:50:26 2007 +0000
     1.2 +++ b/src/video/nanox/SDL_nxvideo.c	Sun Jul 08 01:55:46 2007 +0000
     1.3 @@ -380,6 +380,9 @@
     1.4          current -> pitch = SDL_CalculatePitch (current) ;
     1.5          NX_ResizeImage (this, current, flags) ;
     1.6      }
     1.7 +
     1.8 +    /* Clear these flags and set them only if they are in the new set. */
     1.9 +    current -> flags &= ~(SDL_RESIZABLE|SDL_NOFRAME);
    1.10      current -> flags |= (flags & (SDL_RESIZABLE | SDL_NOFRAME)) ;
    1.11  
    1.12    done: