Mercurial > sdl-ios-xcode
comparison src/video/nanox/SDL_nxvideo.c @ 4017:9a451f59b388 SDL-1.2
This looks like it might hit Bugzilla #441, too, so we'll play it safe.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 08 Jul 2007 01:55:46 +0000 |
parents | 8d9bb0cf2c2a |
children | a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
4016:3f93ccc2c01e | 4017:9a451f59b388 |
---|---|
378 current -> w = width ; | 378 current -> w = width ; |
379 current -> h = height ; | 379 current -> h = height ; |
380 current -> pitch = SDL_CalculatePitch (current) ; | 380 current -> pitch = SDL_CalculatePitch (current) ; |
381 NX_ResizeImage (this, current, flags) ; | 381 NX_ResizeImage (this, current, flags) ; |
382 } | 382 } |
383 | |
384 /* Clear these flags and set them only if they are in the new set. */ | |
385 current -> flags &= ~(SDL_RESIZABLE|SDL_NOFRAME); | |
383 current -> flags |= (flags & (SDL_RESIZABLE | SDL_NOFRAME)) ; | 386 current -> flags |= (flags & (SDL_RESIZABLE | SDL_NOFRAME)) ; |
384 | 387 |
385 done: | 388 done: |
386 SDL_Unlock_EventThread () ; | 389 SDL_Unlock_EventThread () ; |
387 | 390 |