Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzVideo.m @ 117:aac75d5f7869
Fixed fullscreen mouse events on MacOS X
Fixed crash when quitting fullscreen mode on MacOS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Jul 2001 20:57:24 +0000 |
parents | bd6b0a910a65 |
children | 2d162219f433 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m Sat Jul 21 18:40:28 2001 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.m Sun Jul 22 20:57:24 2001 +0000 @@ -231,6 +231,7 @@ if ( mode_flags & SDL_FULLSCREEN ) { CGDisplaySwitchToMode (display_id, save_mode); CGDisplayRelease (display_id); + this->screen->pixels = NULL; } /* Release window mode data structures */ else {