Skip to content
Permalink
Browse files

This looks like it might hit Bugzilla #441, too, so we'll play it safe.

  • Loading branch information
icculus committed Jul 8, 2007
1 parent 94b62c4 commit e08bc99b1e5649b826cf23ba18dd2e0de577feb7
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/video/nanox/SDL_nxvideo.c
@@ -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:

0 comments on commit e08bc99

Please sign in to comment.