Skip to content

Commit

Permalink
This looks like it might hit Bugzilla #441, too, so we'll play it safe.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 8, 2007
1 parent 94b62c4 commit e08bc99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/nanox/SDL_nxvideo.c
Expand Up @@ -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:
Expand Down

0 comments on commit e08bc99

Please sign in to comment.